| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,7 +13,7 @@ | |||
| 13 | 13 | This module provides functions for encoding binary data to printable | |
| 14 | 14 | ASCII characters and decoding such encodings back to binary data. | |
| 15 | 15 | It provides encoding and decoding functions for the encodings specified in | |
| 16 | - in :rfc:`3548`, which defines the Base16, Base32, and Base64 algorithms, | ||
| 16 | + :rfc:`3548`, which defines the Base16, Base32, and Base64 algorithms, | ||
| 17 | 17 | and for the de-facto standard Ascii85 and Base85 encodings. | |
| 18 | 18 | ||
| 19 | 19 | The :rfc:`3548` encodings are suitable for encoding binary data so that it can | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1540,7 +1540,7 @@ multiprocessing connections. | |||
| 1540 | 1540 | to override the default behavior of inheriting the ``daemon`` flag from | |
| 1541 | 1541 | the parent process (:issue:`6064`). | |
| 1542 | 1542 | ||
| 1543 | - New attribute attribute :data:`multiprocessing.Process.sentinel` allows a | ||
| 1543 | + New attribute :data:`multiprocessing.Process.sentinel` allows a | ||
| 1544 | 1544 | program to wait on multiple :class:`~multiprocessing.Process` objects at one | |
| 1545 | 1545 | time using the appropriate OS primitives (for example, :mod:`select` on | |
| 1546 | 1546 | posix systems). | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -61,7 +61,7 @@ class itself, but instead to have a reference to a helper object | |||
| 61 | 61 | the Future is collected, and the helper is present, the helper | |
| 62 | 62 | object is also collected, and its __del__() method will log the | |
| 63 | 63 | traceback. When the Future's result() or exception() method is | |
| 64 | - called (and a helper object is present), it removes the the helper | ||
| 64 | + called (and a helper object is present), it removes the helper | ||
| 65 | 65 | object, after calling its clear() method to prevent it from | |
| 66 | 66 | logging. | |
| 67 | 67 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -172,7 +172,7 @@ def pbkdf2_hmac(hash_name, password, salt, iterations, dklen=None): | |||
| 172 | 172 | ||
| 173 | 173 | def prf(msg, inner=inner, outer=outer): | |
| 174 | 174 | # PBKDF2_HMAC uses the password as key. We can re-use the same | |
| 175 | - # digest objects and and just update copies to skip initialization. | ||
| 175 | + # digest objects and just update copies to skip initialization. | ||
| 176 | 176 | icpy = inner.copy() | |
| 177 | 177 | ocpy = outer.copy() | |
| 178 | 178 | icpy.update(msg) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -105,7 +105,7 @@ def test_wait_for_handle(self): | |||
| 105 | 105 | ||
| 106 | 106 | _overlapped.SetEvent(event) | |
| 107 | 107 | ||
| 108 | - # Wait for for set event; | ||
| 108 | + # Wait for set event; | ||
| 109 | 109 | # result should be True immediately | |
| 110 | 110 | fut = self.loop._proactor.wait_for_handle(event, 10) | |
| 111 | 111 | start = self.loop.time() | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,7 +10,7 @@ | |||
| 10 | 10 | PORT = None | |
| 11 | 11 | ||
| 12 | 12 | def make_request_and_skipIf(condition, reason): | |
| 13 | - # If we skip the test, we have to make a request because the | ||
| 13 | + # If we skip the test, we have to make a request because | ||
| 14 | 14 | # the server created in setUp blocks expecting one to come in. | |
| 15 | 15 | if not condition: | |
| 16 | 16 | return lambda func: func | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -517,7 +517,7 @@ def is_unavailable_exception(e): | |||
| 517 | 517 | return True | |
| 518 | 518 | ||
| 519 | 519 | def make_request_and_skipIf(condition, reason): | |
| 520 | - # If we skip the test, we have to make a request because the | ||
| 520 | + # If we skip the test, we have to make a request because | ||
| 521 | 521 | # the server created in setUp blocks expecting one to come in. | |
| 522 | 522 | if not condition: | |
| 523 | 523 | return lambda func: func | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -57,7 +57,7 @@ class ZipSupportTests(unittest.TestCase): | |||
| 57 | 57 | # This used to use the ImportHooksBaseTestCase to restore | |
| 58 | 58 | # the state of the import related information | |
| 59 | 59 | # in the sys module after each test. However, that restores | |
| 60 | - # *too much* information and breaks for the invocation of | ||
| 60 | + # *too much* information and breaks for the invocation | ||
| 61 | 61 | # of test_doctest. So we do our own thing and leave | |
| 62 | 62 | # sys.modules alone. | |
| 63 | 63 | # We also clear the linecache and zipimport cache | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -125,7 +125,7 @@ class Element: | |||
| 125 | 125 | This class is the reference implementation of the Element interface. | |
| 126 | 126 | ||
| 127 | 127 | An element's length is its number of subelements. That means if you | |
| 128 | - you want to check if an element is truly empty, you should check BOTH | ||
| 128 | + want to check if an element is truly empty, you should check BOTH | ||
| 129 | 129 | its length AND its text attribute. | |
| 130 | 130 | ||
| 131 | 131 | The element tag, attribute names, and attribute values can be either | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3970,7 +3970,7 @@ Tests | |||
| 3970 | 3970 | - Issue #12041: Make test_wait3 more robust. | |
| 3971 | 3971 | ||
| 3972 | 3972 | - Issue #11873: Change regex in test_compileall to fix occasional failures when | |
| 3973 | - when the randomly generated temporary path happened to match the regex. | ||
| 3973 | + the randomly generated temporary path happened to match the regex. | ||
| 3974 | 3974 | ||
| 3975 | 3975 | - Issue #11958: Fix FTP tests for IPv6, bind to "::1" instead of "localhost". | |
| 3976 | 3976 | Patch written by Charles-Francois Natali. | |
@@ -14051,7 +14051,7 @@ Core and builtins | |||
| 14051 | 14051 | - When method objects have an attribute that can be satisfied either | |
| 14052 | 14052 | by the function object or by the method object, the function | |
| 14053 | 14053 | object's attribute usually wins. Christian Tismer pointed out that | |
| 14054 | - that this is really a mistake, because this only happens for special | ||
| 14054 | + this is really a mistake, because this only happens for special | ||
| 14055 | 14055 | methods (like __reduce__) where the method object's version is | |
| 14056 | 14056 | really more appropriate than the function's attribute. So from now | |
| 14057 | 14057 | on, all method attributes will have precedence over function | |
| Back | FazBrowse Home | New Git URL |
0 commit comments