| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b221107 commit 3295529
15 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -185,7 +185,7 @@ to be using :class:`BytesGenerator`, and not :class:`Generator`. | |||
| 185 | 185 | Convert any bytes with the high bit set as needed using an | |
| 186 | 186 | ASCII-compatible :mailheader:`Content-Transfer-Encoding`. That is, | |
| 187 | 187 | transform parts with non-ASCII :mailheader:`Cotnent-Transfer-Encoding` | |
| 188 | - (:mailheader:`Content-Transfer-Encoding: 8bit`) to an ASCII compatibile | ||
| 188 | + (:mailheader:`Content-Transfer-Encoding: 8bit`) to an ASCII compatible | ||
| 189 | 189 | :mailheader:`Content-Transfer-Encoding`, and encode RFC-invalid non-ASCII | |
| 190 | 190 | bytes in headers using the MIME ``unknown-8bit`` character set, thus | |
| 191 | 191 | rendering them RFC-compliant. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -746,7 +746,7 @@ The :mod:`test.support` module defines the following functions: | |||
| 746 | 746 | ||
| 747 | 747 | .. function:: wait_threads_exit(timeout=60.0) | |
| 748 | 748 | ||
| 749 | - Context manager to wait until all threads created in the ``with`` statment | ||
| 749 | + Context manager to wait until all threads created in the ``with`` statement | ||
| 750 | 750 | exit. | |
| 751 | 751 | ||
| 752 | 752 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -65,7 +65,7 @@ PyAPI_FUNC(PyContextToken *) PyContextVar_Set( | |||
| 65 | 65 | ||
| 66 | 66 | ||
| 67 | 67 | /* Reset a variable to its previous value. | |
| 68 | - Returns 0 on sucess, -1 on error. | ||
| 68 | + Returns 0 on success, -1 on error. | ||
| 69 | 69 | */ | |
| 70 | 70 | PyAPI_FUNC(int) PyContextVar_Reset( | |
| 71 | 71 | PyContextVar *var, PyContextToken *token); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -80,7 +80,7 @@ PyHamtObject * _PyHamt_Without(PyHamtObject *o, PyObject *key); | |||
| 80 | 80 | /* Find "key" in the "o" collection. | |
| 81 | 81 | ||
| 82 | 82 | Return: | |
| 83 | - - -1: An error ocurred. | ||
| 83 | + - -1: An error occurred. | ||
| 84 | 84 | - 0: "key" wasn't found in "o". | |
| 85 | 85 | - 1: "key" is in "o"; "*val" is set to its value (a borrowed ref). | |
| 86 | 86 | */ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -463,7 +463,7 @@ def _strptime(data_string, format="%a %b %d %H:%M:%S %Y"): | |||
| 463 | 463 | z = z[:3] + z[4:] | |
| 464 | 464 | if len(z) > 5: | |
| 465 | 465 | if z[5] != ':': | |
| 466 | - msg = f"Unconsistent use of : in {found_dict['z']}" | ||
| 466 | + msg = f"Inconsistent use of : in {found_dict['z']}" | ||
| 467 | 467 | raise ValueError(msg) | |
| 468 | 468 | z = z[:5] + z[6:] | |
| 469 | 469 | hours = int(z[1:3]) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -39,7 +39,7 @@ bpo-31860: The font sample in the settings dialog is now editable. | |||
| 39 | 39 | Edits persist while IDLE remains open. | |
| 40 | 40 | Patch by Serhiy Storchake and Terry Jan Reedy. | |
| 41 | 41 | ||
| 42 | - bpo-31858: Restrict shell prompt manipulaton to the shell. | ||
| 42 | + bpo-31858: Restrict shell prompt manipulation to the shell. | ||
| 43 | 43 | Editor and output windows only see an empty last prompt line. This | |
| 44 | 44 | simplifies the code and fixes a minor bug when newline is inserted. | |
| 45 | 45 | Sys.ps1, if present, is read on Shell start-up, but is not set or changed. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -161,7 +161,7 @@ def CheckInTransactionRO(self): | |||
| 161 | 161 | self.cx.in_transaction = True | |
| 162 | 162 | ||
| 163 | 163 | def CheckOpenWithPathLikeObject(self): | |
| 164 | - """ Checks that we can succesfully connect to a database using an object that | ||
| 164 | + """ Checks that we can successfully connect to a database using an object that | ||
| 165 | 165 | is PathLike, i.e. has __fspath__(). """ | |
| 166 | 166 | self.addCleanup(unlink, TESTFN) | |
| 167 | 167 | class Path: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1104,7 +1104,7 @@ def _on_queue_feeder_error(e, obj): | |||
| 1104 | 1104 | q = SafeQueue(ctx=multiprocessing.get_context()) | |
| 1105 | 1105 | q.put(not_serializable_obj) | |
| 1106 | 1106 | ||
| 1107 | - # Verify that q is still functionning correctly | ||
| 1107 | + # Verify that q is still functioning correctly | ||
| 1108 | 1108 | q.put(True) | |
| 1109 | 1109 | self.assertTrue(q.get(timeout=1.0)) | |
| 1110 | 1110 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1001,7 +1001,7 @@ def test_drop_close_if_unassociated(self): | |||
| 1001 | 1001 | interpreters.channel_recv(cid) | |
| 1002 | 1002 | ||
| 1003 | 1003 | def test_drop_partially(self): | |
| 1004 | - # XXX Is partial close too wierd/confusing? | ||
| 1004 | + # XXX Is partial close too weird/confusing? | ||
| 1005 | 1005 | cid = interpreters.channel_create() | |
| 1006 | 1006 | interpreters.channel_send(cid, None) | |
| 1007 | 1007 | interpreters.channel_recv(cid) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5948,7 +5948,7 @@ def test_sendmsg_afalg_args(self): | |||
| 5948 | 5948 | @unittest.skipUnless(sys.platform.startswith("win"), "requires Windows") | |
| 5949 | 5949 | class TestMSWindowsTCPFlags(unittest.TestCase): | |
| 5950 | 5950 | knownTCPFlags = { | |
| 5951 | - # avaliable since long time ago | ||
| 5951 | + # available since long time ago | ||
| 5952 | 5952 | 'TCP_MAXSEG', | |
| 5953 | 5953 | 'TCP_NODELAY', | |
| 5954 | 5954 | # available starting with Windows 10 1607 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments