summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorYurii Karabas <1998uriyyo@gmail.com>2021-07-22 21:06:54 (GMT)
committerGitHub <noreply@github.com>2021-07-22 21:06:54 (GMT)
commit96c4cbd96c769e92869c62ba898dd9eb670baa81 (patch)
treebf57868bec1d475c469214d42f89d29158b60244 /PC
parentf1afef5e0d93d66fbf3c9aaeab8b3b8da9617583 (diff)
downloadcpython-96c4cbd96c769e92869c62ba898dd9eb670baa81.zip
cpython-96c4cbd96c769e92869c62ba898dd9eb670baa81.tar.gz
cpython-96c4cbd96c769e92869c62ba898dd9eb670baa81.tar.bz2
bpo-44353: Implement typing.NewType __call__ method in C (#27262)
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Denis Laxalde <denis@laxalde.org>
Diffstat (limited to 'PC')
-rw-r--r--PC/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/PC/config.c b/PC/config.c
index 87cd76d..11743ea 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -24,6 +24,7 @@ extern PyObject* PyInit__sha256(void);
extern PyObject* PyInit__sha512(void);
extern PyObject* PyInit__sha3(void);
extern PyObject* PyInit__statistics(void);
+extern PyObject* PyInit__typing(void);
extern PyObject* PyInit__blake2(void);
extern PyObject* PyInit_time(void);
extern PyObject* PyInit__thread(void);
@@ -104,6 +105,7 @@ struct _inittab _PyImport_Inittab[] = {
{"_blake2", PyInit__blake2},
{"time", PyInit_time},
{"_thread", PyInit__thread},
+ {"_typing", PyInit__typing},
{"_statistics", PyInit__statistics},
#ifdef WIN32
{"msvcrt", PyInit_msvcrt},