mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
bpo-40471: Fix grammar typo in 'issubclass' docstring (GH-19847)
Just a brief grammar fix. See also <>.
This commit is contained in:
parent
c822efeda9
commit
df773f8c54
2 changed files with 6 additions and 6 deletions
|
@ -2494,17 +2494,17 @@ issubclass as builtin_issubclass
|
|||
class_or_tuple: object
|
||||
/
|
||||
|
||||
Return whether 'cls' is a derived from another class or is the same class.
|
||||
Return whether 'cls' is derived from another class or is the same class.
|
||||
|
||||
A tuple, as in ``issubclass(x, (A, B, ...))``, may be given as the target to
|
||||
check against. This is equivalent to ``issubclass(x, A) or issubclass(x, B)
|
||||
or ...`` etc.
|
||||
or ...``.
|
||||
[clinic start generated code]*/
|
||||
|
||||
static PyObject *
|
||||
builtin_issubclass_impl(PyObject *module, PyObject *cls,
|
||||
PyObject *class_or_tuple)
|
||||
/*[clinic end generated code: output=358412410cd7a250 input=af5f35e9ceaddaf6]*/
|
||||
/*[clinic end generated code: output=358412410cd7a250 input=a24b9f3d58c370d6]*/
|
||||
{
|
||||
int retval;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue