Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 549edcf

Browse files
committed
Merge with 3.5
2 parents 24fa60c + 44b1020 commit 549edcf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/library/functions.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -703,10 +703,10 @@ are always available. They are listed here in alphabetical order.
703703
Return true if the *object* argument is an instance of the *classinfo*
704704
argument, or of a (direct, indirect or :term:`virtual <abstract base
705705
class>`) subclass thereof. If *object* is not
706-
an object of the given type, the function always returns false. If
707-
*classinfo* is not a class (type object), it may be a tuple of type objects,
708-
or may recursively contain other such tuples (other sequence types are not
709-
accepted). If *classinfo* is not a type or tuple of types and such tuples,
706+
an object of the given type, the function always returns false.
707+
If *classinfo* is a tuple of type objects (or recursively, other such
708+
tuples), return true if *object* is an instance of any of the types.
709+
If *classinfo* is not a type or tuple of types and such tuples,
710710
a :exc:`TypeError` exception is raised.
711711

712712

0 commit comments

Comments
 (0)