Discussion:
[Python-3000-checkins] r65036 - python/branches/py3k/Doc/tutorial/classes.rst
georg.brandl
2008-07-16 21:21:29 UTC
Permalink
Author: georg.brandl
Date: Wed Jul 16 23:21:29 2008
New Revision: 65036

Log:
#3310: stop referring to basestring.


Modified:
python/branches/py3k/Doc/tutorial/classes.rst

Modified: python/branches/py3k/Doc/tutorial/classes.rst
==============================================================================
--- python/branches/py3k/Doc/tutorial/classes.rst (original)
+++ python/branches/py3k/Doc/tutorial/classes.rst Wed Jul 16 23:21:29 2008
@@ -531,9 +531,8 @@

* 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`.

Loading...