File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments