summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-10-22 01:47:26 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-10-22 01:47:26 (GMT)
commit51c18166bb55ff8ed72f447997bcb38574531112 (patch)
tree68b2b60b0491ed9b4f51e7216450bda763ecaf7d /Misc
parentc8e5645f15054a87945d5f62dc23c6e49a394db5 (diff)
downloadcpython-51c18166bb55ff8ed72f447997bcb38574531112.zip
cpython-51c18166bb55ff8ed72f447997bcb38574531112.tar.gz
cpython-51c18166bb55ff8ed72f447997bcb38574531112.tar.bz2
Fix some typos
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS8
1 files changed, 4 insertions, 4 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 83c978c..79cbb76 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -67,7 +67,7 @@ Core and builtins
- Weak reference objects are now part of the core and offers a C API.
A bug which could allow a core dump when binary operations involved
- proxy reference has been fixed. weekref.ReferenceError is now a
+ proxy reference has been fixed. weakref.ReferenceError is now a
built-in exception.
- unicode(obj) now behaves more like str(obj), accepting arbitrary
@@ -279,7 +279,7 @@ Type/class unification and new-style classes
- For new-style classes, what was previously called __getattr__ is now
called __getattribute__. This method, if defined, is called for
- *every* attribute access. A new __getattr__ hook mor similar to the
+ *every* attribute access. A new __getattr__ hook more similar to the
one in classic classes is defined which is called only if regular
attribute access raises AttributeError; to catch *all* attribute
access, you can use __getattribute__ (for new-style classes). If
@@ -323,8 +323,8 @@ Core
makes unicode() behave like str() when applied to non-string/buffer
objects.
-- PyFile_WriteObject now passes Unicode object to the file's write
- method. As a result, all file-like object which may be the target
+- PyFile_WriteObject now passes Unicode objects to the file's write
+ method. As a result, all file-like objects which may be the target
of a print statement must support Unicode objects, i.e. they must
at least convert them into ASCII strings.