| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -479,7 +479,7 @@ async def connect_read_pipe(self, protocol_factory, pipe): | |||
| 479 | 479 | # The reason to accept file-like object instead of just file descriptor | |
| 480 | 480 | # is: we need to own pipe and close it at transport finishing | |
| 481 | 481 | # Can got complicated errors if pass f.fileno(), | |
| 482 | - # close fd in pipe transport then close f and vise versa. | ||
| 482 | + # close fd in pipe transport then close f and vice versa. | ||
| 483 | 483 | raise NotImplementedError | |
| 484 | 484 | ||
| 485 | 485 | async def connect_write_pipe(self, protocol_factory, pipe): | |
@@ -492,7 +492,7 @@ async def connect_write_pipe(self, protocol_factory, pipe): | |||
| 492 | 492 | # The reason to accept file-like object instead of just file descriptor | |
| 493 | 493 | # is: we need to own pipe and close it at transport finishing | |
| 494 | 494 | # Can got complicated errors if pass f.fileno(), | |
| 495 | - # close fd in pipe transport then close f and vise versa. | ||
| 495 | + # close fd in pipe transport then close f and vice versa. | ||
| 496 | 496 | raise NotImplementedError | |
| 497 | 497 | ||
| 498 | 498 | async def subprocess_shell(self, protocol_factory, cmd, *, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1379,7 +1379,7 @@ def add_child_handler(self, pid, callback, *args): | |||
| 1379 | 1379 | def remove_child_handler(self, pid): | |
| 1380 | 1380 | # asyncio never calls remove_child_handler() !!! | |
| 1381 | 1381 | # The method is no-op but is implemented because | |
| 1382 | - # abstract base classe requires it | ||
| 1382 | + # abstract base classes requires it | ||
| 1383 | 1383 | return True | |
| 1384 | 1384 | ||
| 1385 | 1385 | def attach_loop(self, loop): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -163,7 +163,7 @@ def get_legacy(members): | |||
| 163 | 163 | return member | |
| 164 | 164 | else: | |
| 165 | 165 | # 32-bit legacy names - both shr.o and shr4.o exist. | |
| 166 | - # shr.o is the preffered name so we look for shr.o first | ||
| 166 | + # shr.o is the preferred name so we look for shr.o first | ||
| 167 | 167 | # i.e., shr4.o is returned only when shr.o does not exist | |
| 168 | 168 | for name in ['shr.o', 'shr4.o']: | |
| 169 | 169 | member = get_one_match(re.escape(name), members) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -443,15 +443,15 @@ def __del__(self): | |||
| 443 | 443 | ||
| 444 | 444 | s = Test(1, 2, 3) | |
| 445 | 445 | # Test the StructUnionType_paramfunc() code path which copies the | |
| 446 | - # structure: if the stucture is larger than sizeof(void*). | ||
| 446 | + # structure: if the structure is larger than sizeof(void*). | ||
| 447 | 447 | self.assertGreater(sizeof(s), sizeof(c_void_p)) | |
| 448 | 448 | ||
| 449 | 449 | dll = CDLL(_ctypes_test.__file__) | |
| 450 | 450 | func = dll._testfunc_large_struct_update_value | |
| 451 | 451 | func.argtypes = (Test,) | |
| 452 | 452 | func.restype = None | |
| 453 | 453 | func(s) | |
| 454 | - # bpo-37140: Passing the structure by refrence must not call | ||
| 454 | + # bpo-37140: Passing the structure by reference must not call | ||
| 455 | 455 | # its finalizer! | |
| 456 | 456 | self.assertEqual(finalizer_calls, []) | |
| 457 | 457 | self.assertEqual(s.first, 1) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -62,7 +62,7 @@ class SequenceMatcher: | |||
| 62 | 62 | notion, pairing up elements that appear uniquely in each sequence. | |
| 63 | 63 | That, and the method here, appear to yield more intuitive difference | |
| 64 | 64 | reports than does diff. This method appears to be the least vulnerable | |
| 65 | - to synching up on blocks of "junk lines", though (like blank lines in | ||
| 65 | + to syncing up on blocks of "junk lines", though (like blank lines in | ||
| 66 | 66 | ordinary text files, or maybe "<P>" lines in HTML files). That may be | |
| 67 | 67 | because this is the only method of the 3 that has a *concept* of | |
| 68 | 68 | "junk" <wink>. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -392,7 +392,7 @@ def _fix_compile_args(self, output_dir, macros, include_dirs): | |||
| 392 | 392 | return output_dir, macros, include_dirs | |
| 393 | 393 | ||
| 394 | 394 | def _prep_compile(self, sources, output_dir, depends=None): | |
| 395 | - """Decide which souce files must be recompiled. | ||
| 395 | + """Decide which source files must be recompiled. | ||
| 396 | 396 | ||
| 397 | 397 | Determine the list of object files corresponding to 'sources', | |
| 398 | 398 | and figure out which ones really need to be recompiled. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -31,7 +31,7 @@ | |||
| 31 | 31 | # while making the sysconfig module the single point of truth. | |
| 32 | 32 | # This makes it easier for OS distributions where they need to | |
| 33 | 33 | # alter locations for packages installations in a single place. | |
| 34 | - # Note that this module is depracated (PEP 632); all consumers | ||
| 34 | + # Note that this module is deprecated (PEP 632); all consumers | ||
| 35 | 35 | # of this information should switch to using sysconfig directly. | |
| 36 | 36 | INSTALL_SCHEMES = {"unix_prefix": {}, "unix_home": {}, "nt": {}} | |
| 37 | 37 | ||
@@ -43,7 +43,7 @@ | |||
| 43 | 43 | sys_key = key | |
| 44 | 44 | sys_scheme = sysconfig._INSTALL_SCHEMES[sys_scheme_name] | |
| 45 | 45 | if key == "headers" and key not in sys_scheme: | |
| 46 | - # On POSIX-y platofrms, Python will: | ||
| 46 | + # On POSIX-y platforms, Python will: | ||
| 47 | 47 | # - Build from .h files in 'headers' (only there when | |
| 48 | 48 | # building CPython) | |
| 49 | 49 | # - Install .h files to 'include' | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -110,4 +110,4 @@ class NonASCIILocalPartDefect(HeaderDefect): | |||
| 110 | 110 | # parsing messages decoded from binary. | |
| 111 | 111 | ||
| 112 | 112 | class InvalidDateDefect(HeaderDefect): | |
| 113 | - """Header has unparseable or invalid date""" | ||
| 113 | + """Header has unparsable or invalid date""" | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -405,7 +405,7 @@ def parse_endtag(self, i): | |||
| 405 | 405 | tagname = namematch.group(1).lower() | |
| 406 | 406 | # consume and ignore other stuff between the name and the > | |
| 407 | 407 | # Note: this is not 100% correct, since we might have things like | |
| 408 | - # </tag attr=">">, but looking for > after tha name should cover | ||
| 408 | + # </tag attr=">">, but looking for > after the name should cover | ||
| 409 | 409 | # most of the cases and is much simpler | |
| 410 | 410 | gtpos = rawdata.find('>', namematch.end()) | |
| 411 | 411 | self.handle_endtag(tagname) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1175,7 +1175,7 @@ Wed Mar 10 05:18:02 1999 Guido van Rossum <guido@cnri.reston.va.us> | |||
| 1175 | 1175 | classes in selected module | |
| 1176 | 1176 | methods of selected class | |
| 1177 | 1177 | ||
| 1178 | - Sinlge clicking in a directory, module or class item updates the next | ||
| 1178 | + Single clicking in a directory, module or class item updates the next | ||
| 1179 | 1179 | column with info about the selected item. Double clicking in a | |
| 1180 | 1180 | module, class or method item opens the file (and selects the clicked | |
| 1181 | 1181 | item if it is a class or method). | |
| Back | FazBrowse Home | New Git URL |
0 commit comments