summaryrefslogtreecommitdiffstats
path: root/Include/Python.h
diff options
context:
space:
mode:
authorNicholas Sim <nsim+github@posteo.net>2021-02-16 12:04:38 (GMT)
committerGitHub <noreply@github.com>2021-02-16 12:04:38 (GMT)
commit17dbd4078b68db8954df6b5cdc40b786bc4ad7af (patch)
treee48e54740a78deac7d08fb72ad2a1fb15fce8cc1 /Include/Python.h
parent871eb4237b9be95263ca13ba8856e78344eb9eba (diff)
downloadcpython-17dbd4078b68db8954df6b5cdc40b786bc4ad7af.zip
cpython-17dbd4078b68db8954df6b5cdc40b786bc4ad7af.tar.gz
cpython-17dbd4078b68db8954df6b5cdc40b786bc4ad7af.tar.bz2
bpo-35134, Include: Move pytime.h to cpython/pytime.h (GH-23988)
This change is backward compatible since C extension modules must not include "pytime.h" directly, but only include "Python.h".
Diffstat (limited to 'Include/Python.h')
-rw-r--r--Include/Python.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/Python.h b/Include/Python.h
index 57f71d4..76ead9e 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -82,7 +82,6 @@
#error "PYMALLOC_DEBUG requires WITH_PYMALLOC"
#endif
#include "pymath.h"
-#include "pytime.h"
#include "pymem.h"
#include "object.h"
@@ -128,6 +127,7 @@
#include "structseq.h"
#include "namespaceobject.h"
#include "picklebufobject.h"
+#include "cpython/pytime.h"
#include "codecs.h"
#include "pyerrors.h"