summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-05-31 19:58:02 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-05-31 19:58:02 (GMT)
commit32a7e7f6b65bd64f28daccaf05e906f93f2ef77e (patch)
tree1d944c019e0ff8ea1eed8d98041a0d10f6488bb8 /Misc/NEWS
parent9b414ac93eb485a3123cf4dc33a253834c5d5e21 (diff)
downloadcpython-32a7e7f6b65bd64f28daccaf05e906f93f2ef77e.zip
cpython-32a7e7f6b65bd64f28daccaf05e906f93f2ef77e.tar.gz
cpython-32a7e7f6b65bd64f28daccaf05e906f93f2ef77e.tar.bz2
Change name from string to basestring
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 2 insertions, 2 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 2c7646d..c3224da 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,10 +12,10 @@ Core and builtins
deprecations, use -Walways::PendingDeprecationWarning::
as a command line option or warnings.filterwarnings() in code.
-- A new type object, 'string', is added. This is a common base type
+- A new type object, 'basestring', is added. This is a common base type
for 'str' and 'unicode', and can be used instead of
types.StringTypes, e.g. to test whether something is "a string":
- isinstance(x, string) is True for Unicode and 8-bit strings. This
+ isinstance(x, basestring) is True for Unicode and 8-bit strings. This
is an abstract base class and cannot be instantiated directly.
- Deprecated features of xrange objects have been removed as