Staging
v0.5.1
https://github.com/python/cpython
Revision f8b1ccd63c94bcde1c15d56d24add89861b6ceee authored by kpinc on 21 October 2020, 20:34:15 UTC, committed by GitHub on 21 October 2020, 20:34:15 UTC


This is a trivial fix to [bpo-39416](), which didn't come up until it was already committed

```
Change "Numeric" to "numeric".

I believe this is trivial enough to not need an issue or a NEWS entry, although
I'm unclear on what branches the original pull request received backports.
```

Automerge-Triggered-By: GH:merwok
1 parent 2e5ca9e
Raw File
Tip revision: f8b1ccd63c94bcde1c15d56d24add89861b6ceee authored by kpinc on 21 October 2020, 20:34:15 UTC
Fix bpo-39416: Change "Numeric" to lower case; an english word, not a class name (GH-22867)
Tip revision: f8b1ccd
genericaliasobject.h
// Implementation of PEP 585: support list[int] etc.
#ifndef Py_GENERICALIASOBJECT_H
#define Py_GENERICALIASOBJECT_H
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(PyObject *) Py_GenericAlias(PyObject *, PyObject *);
PyAPI_DATA(PyTypeObject) Py_GenericAliasType;

#ifdef __cplusplus
}
#endif
#endif /* !Py_GENERICALIASOBJECT_H */
back to top