| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6ee36a5 commit b44c452
12 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -24,7 +24,7 @@ class Object: | |||
| 24 | 24 | depends on the object; for simple objects, it may be their center. | |
| 25 | 25 | ||
| 26 | 26 | Objects have mouse sensitivity. They can be clicked, dragged and | |
| 27 | - double-clicked. The behavior may actually determined by the pile | ||
| 27 | + double-clicked. The behavior may actually be determined by the pile | ||
| 28 | 28 | they are in. | |
| 29 | 29 | ||
| 30 | 30 | All instance attributes are public since the derived class may | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -98,7 +98,7 @@ Allocating Objects on the Heap | |||
| 98 | 98 | Create a new module object based on a name and table of functions, | |
| 99 | 99 | returning the new module object. If *doc* is non-*NULL*, it will be used | |
| 100 | 100 | to define the docstring for the module. If *self* is non-*NULL*, it will | |
| 101 | - passed to the functions of the module as their (otherwise *NULL*) first | ||
| 101 | + be passed to the functions of the module as their (otherwise *NULL*) first | ||
| 102 | 102 | parameter. (This was added as an experimental feature, and there are no | |
| 103 | 103 | known uses in the current version of Python.) For *apiver*, the only value | |
| 104 | 104 | which should be passed is defined by the constant | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2137,9 +2137,9 @@ connection is established both ends will demand proof that the other knows the | |||
| 2137 | 2137 | authentication key. (Demonstrating that both ends are using the same key does | |
| 2138 | 2138 | **not** involve sending the key over the connection.) | |
| 2139 | 2139 | ||
| 2140 | - If authentication is requested but do authentication key is specified then the | ||
| 2140 | + If authentication is requested but no authentication key is specified then the | ||
| 2141 | 2141 | return value of ``current_process().authkey`` is used (see | |
| 2142 | - :class:`~multiprocessing.Process`). This value will automatically inherited by | ||
| 2142 | + :class:`~multiprocessing.Process`). This value will be automatically inherited by | ||
| 2143 | 2143 | any :class:`~multiprocessing.Process` object that the current process creates. | |
| 2144 | 2144 | This means that (by default) all processes of a multi-process program will share | |
| 2145 | 2145 | a single authentication key which can be used when setting up connections | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -231,7 +231,8 @@ variables which either control lexical analysis or can be used for debugging: | |||
| 231 | 231 | This attribute is ``None`` by default. If you assign a string to it, that | |
| 232 | 232 | string will be recognized as a lexical-level inclusion request similar to the | |
| 233 | 233 | ``source`` keyword in various shells. That is, the immediately following token | |
| 234 | - will opened as a filename and input taken from that stream until EOF, at which | ||
| 234 | + will be opened as a filename and input will | ||
| 235 | + be taken from that stream until EOF, at which | ||
| 235 | 236 | point the :meth:`~io.IOBase.close` method of that stream will be called and | |
| 236 | 237 | the input source will again become the original input stream. Source | |
| 237 | 238 | requests may be stacked any number of levels deep. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3150,7 +3150,7 @@ Port-Specific Changes: Mac OS X | |||
| 3150 | 3150 | :func:`macostools.touched` function to be removed because it depended on the | |
| 3151 | 3151 | :mod:`macfs` module. (:issue:`1490190`) | |
| 3152 | 3152 | ||
| 3153 | - * Many other Mac OS modules have been deprecated and will removed in | ||
| 3153 | + * Many other Mac OS modules have been deprecated and will be removed in | ||
| 3154 | 3154 | Python 3.0: | |
| 3155 | 3155 | :mod:`_builtinSuites`, | |
| 3156 | 3156 | :mod:`aepack`, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -579,7 +579,7 @@ def set_param(self, param, value, header='Content-Type', requote=True, | |||
| 579 | 579 | message, it will be set to "text/plain" and the new parameter and | |
| 580 | 580 | value will be appended as per RFC 2045. | |
| 581 | 581 | ||
| 582 | - An alternate header can specified in the header argument, and all | ||
| 582 | + An alternate header can be specified in the header argument, and all | ||
| 583 | 583 | parameters will be quoted as necessary unless requote is False. | |
| 584 | 584 | ||
| 585 | 585 | If charset is specified, the parameter will be encoded according to RFC | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1052,7 +1052,7 @@ def __init__ (self,master=None,cnf={}, **kw): | |||
| 1052 | 1052 | ||
| 1053 | 1053 | class LabelEntry(TixWidget): | |
| 1054 | 1054 | """LabelEntry - Entry field with label. Packages an entry widget | |
| 1055 | - and a label into one mega widget. It can beused be used to simplify | ||
| 1055 | + and a label into one mega widget. It can be used be used to simplify | ||
| 1056 | 1056 | the creation of ``entry-form'' type of interface. | |
| 1057 | 1057 | ||
| 1058 | 1058 | Subwidgets Class | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -961,7 +961,7 @@ def formatdate(timeval=None): | |||
| 961 | 961 | ||
| 962 | 962 | According to RFC 1123, day and month names must always be in | |
| 963 | 963 | English. If not for that, this code could use strftime(). It | |
| 964 | - can't because strftime() honors the locale and could generated | ||
| 964 | + can't because strftime() honors the locale and could generate | ||
| 965 | 965 | non-English names. | |
| 966 | 966 | """ | |
| 967 | 967 | if timeval is None: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -213,8 +213,8 @@ def test_putheader(self): | |||
| 213 | 213 | self.assertIn(b'\xa0NonbreakSpace: value', conn._buffer) | |
| 214 | 214 | ||
| 215 | 215 | def test_ipv6host_header(self): | |
| 216 | - # Default host header on IPv6 transaction should wrapped by [] if | ||
| 217 | - # its actual IPv6 address | ||
| 216 | + # Default host header on IPv6 transaction should be wrapped by [] if | ||
| 217 | + # it is an IPv6 address | ||
| 218 | 218 | expected = 'GET /foo HTTP/1.1\r\nHost: [2001::]:81\r\n' \ | |
| 219 | 219 | 'Accept-Encoding: identity\r\n\r\n' | |
| 220 | 220 | conn = httplib.HTTPConnection('[2001::]:81') | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5148,7 +5148,7 @@ Core and builtins | |||
| 5148 | 5148 | - All standard iterators now ensure that, once StopIteration has been | |
| 5149 | 5149 | raised, all future calls to next() on the same iterator will also | |
| 5150 | 5150 | raise StopIteration. There used to be various counterexamples to | |
| 5151 | - this behavior, which could caused confusion or subtle program | ||
| 5151 | + this behavior, which could have caused confusion or subtle program | ||
| 5152 | 5152 | breakage, without any benefits. (Note that this is still an | |
| 5153 | 5153 | iterator's responsibility; the iterator framework does not enforce | |
| 5154 | 5154 | this.) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments