0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/Doc/api
Walter Dörwald d9a6ad3beb Enhance issubclass() and PyObject_IsSubclass() so that a tuple is
supported as the second argument. This has the same meaning as
for isinstance(), i.e. issubclass(X, (A, B)) is equivalent
to issubclass(X, A) or issubclass(X, B). Compared to isinstance(),
this patch does not search the tuple recursively for classes, i.e.
any entry in the tuple that is not a class, will result in a
TypeError.

This closes SF patch #649608.
2002-12-12 16:41:44 +00:00
..
.cvsignore
abstract.tex Enhance issubclass() and PyObject_IsSubclass() so that a tuple is 2002-12-12 16:41:44 +00:00
api.tex
concrete.tex Clarified the error cases and Unicode handling of PyString_AsString(), 2002-10-22 20:20:20 +00:00
exceptions.tex Typo: propogate -> propagate 2002-12-06 22:42:13 +00:00
init.tex Typo: propogate -> propagate 2002-12-06 22:42:13 +00:00
intro.tex
memory.tex Minor clarification about what's actually promised for PyMem_Malloc(0). 2002-04-06 09:14:33 +00:00
newtypes.tex Minor cleanups, markup. 2002-11-05 22:19:45 +00:00
refcounting.tex
refcounts.dat Added refcount information for PyObject_GetIter(). 2002-10-04 18:58:58 +00:00
utilities.tex Clarify that PyImport_AddModule() and PyImport_ExecCodeModule() don't 2002-11-13 15:13:38 +00:00
veryhigh.tex