| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -708,7 +708,7 @@ the more significant byte last. | |||
| 708 | 708 | ||
| 709 | 709 | Implements assignment with a starred target: Unpacks an iterable in TOS into | |
| 710 | 710 | individual values, where the total number of values can be smaller than the | |
| 711 | - number of items in the iterable: one the new values will be a list of all | ||
| 711 | + number of items in the iterable: one of the new values will be a list of all | ||
| 712 | 712 | leftover items. | |
| 713 | 713 | ||
| 714 | 714 | The low byte of *counts* is the number of values before the list value, the | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2052,7 +2052,7 @@ PyAPI_FUNC(PyObject *) PyUnicode_Format( | |||
| 2052 | 2052 | /* Checks whether element is contained in container and return 1/0 | |
| 2053 | 2053 | accordingly. | |
| 2054 | 2054 | ||
| 2055 | - element has to coerce to an one element Unicode string. -1 is | ||
| 2055 | + element has to coerce to a one element Unicode string. -1 is | ||
| 2056 | 2056 | returned in case of an error. */ | |
| 2057 | 2057 | ||
| 2058 | 2058 | PyAPI_FUNC(int) PyUnicode_Contains( | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1155,7 +1155,7 @@ def getresponse(self): | |||
| 1155 | 1155 | ||
| 1156 | 1156 | If the HTTPConnection is in the correct state, returns an | |
| 1157 | 1157 | instance of HTTPResponse or of whatever object is returned by | |
| 1158 | - class the response_class variable. | ||
| 1158 | + the response_class variable. | ||
| 1159 | 1159 | ||
| 1160 | 1160 | If a request has not been sent or if a previous response has | |
| 1161 | 1161 | not be handled, ResponseNotReady is raised. If the HTTP | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -534,7 +534,7 @@ class TestOptionalsNargsDefault(ParserTestCase): | |||
| 534 | 534 | ||
| 535 | 535 | ||
| 536 | 536 | class TestOptionalsNargs1(ParserTestCase): | |
| 537 | - """Tests specifying the 1 arg for an Optional""" | ||
| 537 | + """Tests specifying 1 arg for an Optional""" | ||
| 538 | 538 | ||
| 539 | 539 | argument_signatures = [Sig('-x', nargs=1)] | |
| 540 | 540 | failures = ['a', '-x'] | |
@@ -545,7 +545,7 @@ class TestOptionalsNargs1(ParserTestCase): | |||
| 545 | 545 | ||
| 546 | 546 | ||
| 547 | 547 | class TestOptionalsNargs3(ParserTestCase): | |
| 548 | - """Tests specifying the 3 args for an Optional""" | ||
| 548 | + """Tests specifying 3 args for an Optional""" | ||
| 549 | 549 | ||
| 550 | 550 | argument_signatures = [Sig('-x', nargs=3)] | |
| 551 | 551 | failures = ['a', '-x', '-x a', '-x a b', 'a -x', 'a -x b'] | |
@@ -579,7 +579,7 @@ class TestOptionalsNargsOptional(ParserTestCase): | |||
| 579 | 579 | ||
| 580 | 580 | ||
| 581 | 581 | class TestOptionalsNargsZeroOrMore(ParserTestCase): | |
| 582 | - """Tests specifying an args for an Optional that accepts zero or more""" | ||
| 582 | + """Tests specifying args for an Optional that accepts zero or more""" | ||
| 583 | 583 | ||
| 584 | 584 | argument_signatures = [ | |
| 585 | 585 | Sig('-x', nargs='*'), | |
@@ -598,7 +598,7 @@ class TestOptionalsNargsZeroOrMore(ParserTestCase): | |||
| 598 | 598 | ||
| 599 | 599 | ||
| 600 | 600 | class TestOptionalsNargsOneOrMore(ParserTestCase): | |
| 601 | - """Tests specifying an args for an Optional that accepts one or more""" | ||
| 601 | + """Tests specifying args for an Optional that accepts one or more""" | ||
| 602 | 602 | ||
| 603 | 603 | argument_signatures = [ | |
| 604 | 604 | Sig('-x', nargs='+'), | |
@@ -1251,7 +1251,7 @@ class TestPrefixCharacterOnlyArguments(ParserTestCase): | |||
| 1251 | 1251 | ||
| 1252 | 1252 | ||
| 1253 | 1253 | class TestNargsZeroOrMore(ParserTestCase): | |
| 1254 | - """Tests specifying an args for an Optional that accepts zero or more""" | ||
| 1254 | + """Tests specifying args for an Optional that accepts zero or more""" | ||
| 1255 | 1255 | ||
| 1256 | 1256 | argument_signatures = [Sig('-x', nargs='*'), Sig('y', nargs='*')] | |
| 1257 | 1257 | failures = [] | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -28,7 +28,7 @@ def formatwarning(message, category, filename, lineno, line=None): | |||
| 28 | 28 | line = linecache.getline(filename, lineno) | |
| 29 | 29 | except Exception: | |
| 30 | 30 | # When a warning is logged during Python shutdown, linecache | |
| 31 | - # and the improt machinery don't work anymore | ||
| 31 | + # and the import machinery don't work anymore | ||
| 32 | 32 | line = None | |
| 33 | 33 | if line: | |
| 34 | 34 | line = line.strip() | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1812,7 +1812,7 @@ Library | |||
| 1812 | 1812 | Build | |
| 1813 | 1813 | ----- | |
| 1814 | 1814 | ||
| 1815 | - - Issue #23817: FreeBSD now uses "1.0" the the SOVERSION as other operating | ||
| 1815 | + - Issue #23817: FreeBSD now uses "1.0" in the SOVERSION as other operating | ||
| 1816 | 1816 | systems, instead of just "1". | |
| 1817 | 1817 | ||
| 1818 | 1818 | - Issue #23501: Argument Clinic now generates code into separate files by default. | |
@@ -6826,7 +6826,7 @@ Library | |||
| 6826 | 6826 | Thomas Barlow. | |
| 6827 | 6827 | ||
| 6828 | 6828 | - Issue #17358: Modules loaded by imp.load_source() and load_compiled() (and by | |
| 6829 | - extention load_module()) now have a better chance of working when reloaded. | ||
| 6829 | + extension load_module()) now have a better chance of working when reloaded. | ||
| 6830 | 6830 | ||
| 6831 | 6831 | - Issue #17804: New function ``struct.iter_unpack`` allows for streaming | |
| 6832 | 6832 | struct unpacking. | |
@@ -7509,7 +7509,7 @@ Library | |||
| 7509 | 7509 | - Issue #16284: Prevent keeping unnecessary references to worker functions | |
| 7510 | 7510 | in concurrent.futures ThreadPoolExecutor. | |
| 7511 | 7511 | ||
| 7512 | - - Issue #16230: Fix a crash in select.select() when one the lists changes | ||
| 7512 | + - Issue #16230: Fix a crash in select.select() when one of the lists changes | ||
| 7513 | 7513 | size while iterated on. Patch by Serhiy Storchaka. | |
| 7514 | 7514 | ||
| 7515 | 7515 | - Issue #16228: Fix a crash in the json module where a list changes size | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -71,7 +71,7 @@ profile the interpreter execution. Note also that any output, both stdout | |||
| 71 | 71 | and stderr, that may appear at this step is supressed. | |
| 72 | 72 | ||
| 73 | 73 | Finally, the last step is to rebuild the interpreter, using the information | |
| 74 | - collected in the previous one. The end result will be a the Python binary | ||
| 74 | + collected in the previous one. The end result will be a Python binary | ||
| 75 | 75 | that is optimized and suitable for distribution or production installation. | |
| 76 | 76 | ||
| 77 | 77 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments