Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 21b23b0

Browse files
committed
Fix typos
1 parent ead4c80 commit 21b23b0

1 file changed

Lines changed: 11 additions & 13 deletions

File tree

Misc/NEWS

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Core and builtins
4343
- A new built-in type, bool, has been added, as well as built-in
4444
names for its two values, True and False. Comparisons and sundry
4545
other operations that return a truth value have been changed to
46-
return a bool instead. Read PEP 285 for an explanantion of why this
46+
return a bool instead. Read PEP 285 for an explanation of why this
4747
is backward compatible.
4848

4949
- Fixed two bugs reported as SF #535905: under certain conditions,
@@ -70,9 +70,7 @@ Core and builtins
7070
Previously, an xreadlines object was returned which would raise
7171
a ValueError when the xreadlines.next() method was called.
7272

73-
- posix.killpg has been added where available.
74-
75-
- sys.exit() inadvertantly allowed more than one argument.
73+
- sys.exit() inadvertently allowed more than one argument.
7674
An exception will now be raised if more than one argument is used.
7775

7876
Extension modules
@@ -81,7 +79,7 @@ Extension modules
8179
This will create a temporary in-memory bsddb that won't be
8280
written to disk.
8381

84-
- posix.mknod was added.
82+
- posix.killpg and posix.mknod have been added where available.
8583

8684
- The locale module now exposes the C library's gettext interface.
8785

@@ -142,7 +140,7 @@ Library
142140

143141
- compileall now supports quiet operation.
144142

145-
- The BaseHTTPServer implements now optionally HTTP/1.1 persistent
143+
- The BaseHTTPServer now implements optional HTTP/1.1 persistent
146144
connections.
147145

148146
- socket module: the SSL support was broken out of the main
@@ -221,7 +219,7 @@ C API
221219
PyMem_MALLOC and PyMem_FREE, even if pymalloc is enabled. The
222220
PyCore_* family of APIs have been removed.
223221

224-
- The "u#" parser marker will now pass through Unicode object as-is
222+
- The "u#" parser marker will now pass through Unicode objects as-is
225223
without going through the buffer API.
226224

227225
- The enumerators of cmp_op have been renamed to use the prefix PyCmp_.
@@ -268,7 +266,7 @@ Windows
268266
Windows (not the same thing as a Windows process id).
269267

270268
- New tempfile.TemporaryFile implementation for Windows: this doesn't
271-
need a TemproraryFileWrapper wrapper anymore, and should be immune
269+
need a TemporaryFileWrapper wrapper anymore, and should be immune
272270
to a nasty problem: before 2.3, if you got a temp file on Windows, it
273271
got wrapped in an object whose close() method first closed the
274272
underlying file, then deleted the file. This usually worked fine.
@@ -329,7 +327,7 @@ Library
329327
- xmlrpclib.py: version 1.0.0; uses precision for doubles.
330328

331329
- test suite: the pickle and cPickle tests were not executing any code
332-
when run from the standard regresssion test.
330+
when run from the standard regression test.
333331

334332
Tools/Demos
335333

@@ -512,7 +510,7 @@ Type/class unification and new-style classes
512510

513511
The MRO (method resolution order) for each base class is respected
514512
according to its kind, but the MRO for the derived class is computed
515-
using new-style MRO rules if any base clase is a new-style class.
513+
using new-style MRO rules if any base class is a new-style class.
516514
This needs to be documented.
517515

518516
- The new builtin dictionary() constructor, and dictionary type, have
@@ -550,7 +548,7 @@ Extension modules
550548
both Windows and Unix users to create read-only, write-through and
551549
copy-on-write memory mappings. This was previously possible only on
552550
Unix. A new keyword argument was required to support this in a
553-
uniform way because the mmap() signuatures had diverged across
551+
uniform way because the mmap() signatures had diverged across
554552
platforms. Thanks to Jay T Miller for repairing this!
555553

556554
- By default, the gc.garbage list now contains only those instances in
@@ -916,7 +914,7 @@ Type/class unification and new-style classes
916914
report on SourceForge.)
917915

918916
- property() now takes 4 keyword arguments: fget, fset, fdel and doc.
919-
These map to readonly attributes 'fget', 'fset', 'fdel', and '__doc__'
917+
These map to read-only attributes 'fget', 'fset', 'fdel', and '__doc__'
920918
in the constructed property object. fget, fset and fdel weren't
921919
discoverable from Python in 2.2a3. __doc__ is new, and allows to
922920
associate a docstring with a property.
@@ -966,7 +964,7 @@ Type/class unification and new-style classes
966964
where the subtype didn't override the operation (and so the
967965
operation was handled by the builtin type), could return that
968966
instance instead a value of the base type. For example, if s was of
969-
a str sublass type, s[:] returned s as-is. Now it returns a str
967+
a str subclass type, s[:] returned s as-is. Now it returns a str
970968
with the same value as s.
971969

972970
- Provisional support for pickling new-style objects has been added.

0 commit comments

Comments
 (0)