FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Issue #27125: Fix various errors like “will [be] inherited” · python-emscripten/cpython@b44c452 · GitHub

Repository navigation

Commit b44c452

Browse files
committed
Issue python#27125: Fix various errors like “will [be] inherited”
1 parent 6ee36a5 commit b44c452

12 files changed

Lines changed: 15 additions & 14 deletions

File tree

‎Demo/tkinter/guido/canvasevents.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Object:
2424
depends on the object; for simple objects, it may be their center.
2525
2626
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
2828
they are in.
2929
3030
All instance attributes are public since the derived class may

‎Doc/c-api/allocation.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Allocating Objects on the Heap
9898
Create a new module object based on a name and table of functions,
9999
returning the new module object. If *doc* is non-*NULL*, it will be used
100100
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
102102
parameter. (This was added as an experimental feature, and there are no
103103
known uses in the current version of Python.) For *apiver*, the only value
104104
which should be passed is defined by the constant

‎Doc/library/multiprocessing.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2137,9 +2137,9 @@ connection is established both ends will demand proof that the other knows the
21372137
authentication key. (Demonstrating that both ends are using the same key does
21382138
**not** involve sending the key over the connection.)
21392139

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
21412141
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
21432143
any :class:`~multiprocessing.Process` object that the current process creates.
21442144
This means that (by default) all processes of a multi-process program will share
21452145
a single authentication key which can be used when setting up connections

‎Doc/library/shlex.rst‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@ variables which either control lexical analysis or can be used for debugging:
231231
This attribute is ``None`` by default. If you assign a string to it, that
232232
string will be recognized as a lexical-level inclusion request similar to the
233233
``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
235236
point the :meth:`~io.IOBase.close` method of that stream will be called and
236237
the input source will again become the original input stream. Source
237238
requests may be stacked any number of levels deep.

‎Doc/whatsnew/2.6.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3150,7 +3150,7 @@ Port-Specific Changes: Mac OS X
31503150
:func:`macostools.touched` function to be removed because it depended on the
31513151
:mod:`macfs` module. (:issue:`1490190`)
31523152

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
31543154
Python 3.0:
31553155
:mod:`_builtinSuites`,
31563156
:mod:`aepack`,

‎Lib/email/message.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ def set_param(self, param, value, header='Content-Type', requote=True,
579579
message, it will be set to "text/plain" and the new parameter and
580580
value will be appended as per RFC 2045.
581581
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
583583
parameters will be quoted as necessary unless requote is False.
584584
585585
If charset is specified, the parameter will be encoded according to RFC

‎Lib/lib-tk/Tix.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ def __init__ (self,master=None,cnf={}, **kw):
10521052

10531053
class LabelEntry(TixWidget):
10541054
"""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
10561056
the creation of ``entry-form'' type of interface.
10571057
10581058
Subwidgets Class

‎Lib/rfc822.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ def formatdate(timeval=None):
961961
962962
According to RFC 1123, day and month names must always be in
963963
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
965965
non-English names.
966966
"""
967967
if timeval is None:

‎Lib/test/test_httplib.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ def test_putheader(self):
213213
self.assertIn(b'\xa0NonbreakSpace: value', conn._buffer)
214214

215215
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
218218
expected = 'GET /foo HTTP/1.1\r\nHost: [2001::]:81\r\n' \
219219
'Accept-Encoding: identity\r\n\r\n'
220220
conn = httplib.HTTPConnection('[2001::]:81')

‎Misc/HISTORY‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5148,7 +5148,7 @@ Core and builtins
51485148
- All standard iterators now ensure that, once StopIteration has been
51495149
raised, all future calls to next() on the same iterator will also
51505150
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
51525152
breakage, without any benefits. (Note that this is still an
51535153
iterator's responsibility; the iterator framework does not enforce
51545154
this.)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL