Skip to content

Commit df773f8

Browse files
authored
bpo-40471: Fix grammar typo in 'issubclass' docstring (pythonGH-19847)
Just a brief grammar fix. See also <>.
1 parent c822efe commit df773f8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Python/bltinmodule.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2494,17 +2494,17 @@ issubclass as builtin_issubclass
24942494
class_or_tuple: object
24952495
/
24962496
2497-
Return whether 'cls' is a derived from another class or is the same class.
2497+
Return whether 'cls' is derived from another class or is the same class.
24982498
24992499
A tuple, as in ``issubclass(x, (A, B, ...))``, may be given as the target to
25002500
check against. This is equivalent to ``issubclass(x, A) or issubclass(x, B)
2501-
or ...`` etc.
2501+
or ...``.
25022502
[clinic start generated code]*/
25032503

25042504
static PyObject *
25052505
builtin_issubclass_impl(PyObject *module, PyObject *cls,
25062506
PyObject *class_or_tuple)
2507-
/*[clinic end generated code: output=358412410cd7a250 input=af5f35e9ceaddaf6]*/
2507+
/*[clinic end generated code: output=358412410cd7a250 input=a24b9f3d58c370d6]*/
25082508
{
25092509
int retval;
25102510

Python/clinic/bltinmodule.c.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)