From 51c18166bb55ff8ed72f447997bcb38574531112 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Mon, 22 Oct 2001 01:47:26 +0000 Subject: [PATCH] Fix some typos --- Misc/NEWS | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Misc/NEWS b/Misc/NEWS index 83c978c51e3..79cbb7626a4 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.