From: Georg Brandl Date: Wed, 16 Jul 2008 21:21:29 +0000 (+0000) Subject: #3310: stop referring to basestring. X-Git-Tag: v3.0b2~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=01ca04cc49b4f005930bff31d9ac898922e4a917;p=python #3310: stop referring to basestring. --- diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index b9db87b7e6..bf2d0aa94b 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`.