[Python-checkins] cpython (merge 3.5 -> default): Merge with 3.5
terry.reedy
python-checkins at python.org
Wed Oct 28 03:16:03 EDT 2015
https://hg.python.org/cpython/rev/13be42829771
changeset: 98875:13be42829771
parent: 98871:d9bb7a3ed51e
parent: 98874:fea528e2dc26
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Wed Oct 28 03:15:38 2015 -0400
summary:
Merge with 3.5
files:
Doc/library/functions.rst | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -703,10 +703,10 @@
Return true if the *object* argument is an instance of the *classinfo*
argument, or of a (direct, indirect or :term:`virtual <abstract base
class>`) subclass thereof. If *object* is not
- an object of the given type, the function always returns false. If
- *classinfo* is not a class (type object), it may be a tuple of type objects,
- or may recursively contain other such tuples (other sequence types are not
- accepted). If *classinfo* is not a type or tuple of types and such tuples,
+ an object of the given type, the function always returns false.
+ If *classinfo* is a tuple of type objects (or recursively, other such
+ tuples), return true if *object* is an instance of any of the types.
+ If *classinfo* is not a type or tuple of types and such tuples,
a :exc:`TypeError` exception is raised.
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list