diff options
author | Georg Brandl <georg@python.org> | 2008-07-16 21:21:29 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-07-16 21:21:29 (GMT) |
commit | 01ca04cc49b4f005930bff31d9ac898922e4a917 (patch) | |
tree | d76ad75f5bd62c298fc6ad0fc1b088b0335f37f4 /Doc | |
parent | 6794aa3cb39f9133e334663a4b293faa8958eafb (diff) | |
download | cpython-01ca04cc49b4f005930bff31d9ac898922e4a917.zip cpython-01ca04cc49b4f005930bff31d9ac898922e4a917.tar.gz cpython-01ca04cc49b4f005930bff31d9ac898922e4a917.tar.bz2 |
#3310: stop referring to basestring.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/tutorial/classes.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index b9db87b..bf2d0aa 100644 --- a/Doc/tutorial/classes.rst +++ b/Doc/tutorial/classes.rst @@ -531,9 +531,8 @@ Python has two builtin functions that work with inheritance: * Use :func:`issubclass` to check class inheritance: ``issubclass(bool, int)`` is ``True`` since :class:`bool` is a subclass of :class:`int`. However, - ``issubclass(unicode, str)`` is ``False`` since :class:`unicode` is not a - subclass of :class:`str` (they only share a common ancestor, - :class:`basestring`). + ``issubclass(float, int)`` is ``False`` since :class:`float` is not a + subclass of :class:`int`. |