diff options
author | maxim-yurchuk <[email protected]> | 2024-10-09 12:29:46 +0300 |
---|---|---|
committer | maxim-yurchuk <[email protected]> | 2024-10-09 13:14:22 +0300 |
commit | 9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch) | |
tree | a8fb3181d5947c0d78cf402aa56e686130179049 /contrib/libs/python/Include/cpython | |
parent | a44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff) |
publishFullContrib: true for ydb
<HIDDEN_URL>
commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/libs/python/Include/cpython')
50 files changed, 350 insertions, 0 deletions
diff --git a/contrib/libs/python/Include/cpython/abstract.h b/contrib/libs/python/Include/cpython/abstract.h new file mode 100644 index 00000000000..091e503fd60 --- /dev/null +++ b/contrib/libs/python/Include/cpython/abstract.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/abstract.h> +#else +#error "No <cpython/abstract.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/bytearrayobject.h b/contrib/libs/python/Include/cpython/bytearrayobject.h new file mode 100644 index 00000000000..0cf80658774 --- /dev/null +++ b/contrib/libs/python/Include/cpython/bytearrayobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/bytearrayobject.h> +#else +#error "No <cpython/bytearrayobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/bytesobject.h b/contrib/libs/python/Include/cpython/bytesobject.h new file mode 100644 index 00000000000..b63ab5f3b39 --- /dev/null +++ b/contrib/libs/python/Include/cpython/bytesobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/bytesobject.h> +#else +#error "No <cpython/bytesobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/cellobject.h b/contrib/libs/python/Include/cpython/cellobject.h new file mode 100644 index 00000000000..5168a47c550 --- /dev/null +++ b/contrib/libs/python/Include/cpython/cellobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/cellobject.h> +#else +#error "No <cpython/cellobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/ceval.h b/contrib/libs/python/Include/cpython/ceval.h new file mode 100644 index 00000000000..b4b752fcf42 --- /dev/null +++ b/contrib/libs/python/Include/cpython/ceval.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/ceval.h> +#else +#error "No <cpython/ceval.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/classobject.h b/contrib/libs/python/Include/cpython/classobject.h new file mode 100644 index 00000000000..328ba029184 --- /dev/null +++ b/contrib/libs/python/Include/cpython/classobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/classobject.h> +#else +#error "No <cpython/classobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/code.h b/contrib/libs/python/Include/cpython/code.h new file mode 100644 index 00000000000..fbb2e0773be --- /dev/null +++ b/contrib/libs/python/Include/cpython/code.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/code.h> +#else +#error "No <cpython/code.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/compile.h b/contrib/libs/python/Include/cpython/compile.h new file mode 100644 index 00000000000..f11b7291afc --- /dev/null +++ b/contrib/libs/python/Include/cpython/compile.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/compile.h> +#else +#error "No <cpython/compile.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/complexobject.h b/contrib/libs/python/Include/cpython/complexobject.h new file mode 100644 index 00000000000..14255ca2a42 --- /dev/null +++ b/contrib/libs/python/Include/cpython/complexobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/complexobject.h> +#else +#error "No <cpython/complexobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/context.h b/contrib/libs/python/Include/cpython/context.h new file mode 100644 index 00000000000..fb0bc6264c2 --- /dev/null +++ b/contrib/libs/python/Include/cpython/context.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/context.h> +#else +#error "No <cpython/context.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/descrobject.h b/contrib/libs/python/Include/cpython/descrobject.h new file mode 100644 index 00000000000..5225345147f --- /dev/null +++ b/contrib/libs/python/Include/cpython/descrobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/descrobject.h> +#else +#error "No <cpython/descrobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/dictobject.h b/contrib/libs/python/Include/cpython/dictobject.h new file mode 100644 index 00000000000..c2665c21d49 --- /dev/null +++ b/contrib/libs/python/Include/cpython/dictobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/dictobject.h> +#else +#error "No <cpython/dictobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/fileobject.h b/contrib/libs/python/Include/cpython/fileobject.h new file mode 100644 index 00000000000..e2267c7814a --- /dev/null +++ b/contrib/libs/python/Include/cpython/fileobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/fileobject.h> +#else +#error "No <cpython/fileobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/fileutils.h b/contrib/libs/python/Include/cpython/fileutils.h new file mode 100644 index 00000000000..be06f6826ee --- /dev/null +++ b/contrib/libs/python/Include/cpython/fileutils.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/fileutils.h> +#else +#error "No <cpython/fileutils.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/floatobject.h b/contrib/libs/python/Include/cpython/floatobject.h new file mode 100644 index 00000000000..6665001c7ae --- /dev/null +++ b/contrib/libs/python/Include/cpython/floatobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/floatobject.h> +#else +#error "No <cpython/floatobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/frameobject.h b/contrib/libs/python/Include/cpython/frameobject.h new file mode 100644 index 00000000000..5c50eaf204f --- /dev/null +++ b/contrib/libs/python/Include/cpython/frameobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/frameobject.h> +#else +#error "No <cpython/frameobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/funcobject.h b/contrib/libs/python/Include/cpython/funcobject.h new file mode 100644 index 00000000000..6f0891e1152 --- /dev/null +++ b/contrib/libs/python/Include/cpython/funcobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/funcobject.h> +#else +#error "No <cpython/funcobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/genobject.h b/contrib/libs/python/Include/cpython/genobject.h new file mode 100644 index 00000000000..5a93c84dd12 --- /dev/null +++ b/contrib/libs/python/Include/cpython/genobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/genobject.h> +#else +#error "No <cpython/genobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/import.h b/contrib/libs/python/Include/cpython/import.h new file mode 100644 index 00000000000..9eaf6d0aa4c --- /dev/null +++ b/contrib/libs/python/Include/cpython/import.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/import.h> +#else +#error "No <cpython/import.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/initconfig.h b/contrib/libs/python/Include/cpython/initconfig.h new file mode 100644 index 00000000000..a1f347678b7 --- /dev/null +++ b/contrib/libs/python/Include/cpython/initconfig.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/initconfig.h> +#else +#error "No <cpython/initconfig.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/interpreteridobject.h b/contrib/libs/python/Include/cpython/interpreteridobject.h new file mode 100644 index 00000000000..c73f79e9b0e --- /dev/null +++ b/contrib/libs/python/Include/cpython/interpreteridobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/interpreteridobject.h> +#else +#error "No <cpython/interpreteridobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/listobject.h b/contrib/libs/python/Include/cpython/listobject.h new file mode 100644 index 00000000000..1f4768447f9 --- /dev/null +++ b/contrib/libs/python/Include/cpython/listobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/listobject.h> +#else +#error "No <cpython/listobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/longintrepr.h b/contrib/libs/python/Include/cpython/longintrepr.h new file mode 100644 index 00000000000..73d0184bf9f --- /dev/null +++ b/contrib/libs/python/Include/cpython/longintrepr.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/longintrepr.h> +#else +#error "No <cpython/longintrepr.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/longobject.h b/contrib/libs/python/Include/cpython/longobject.h new file mode 100644 index 00000000000..c89cdec8ec5 --- /dev/null +++ b/contrib/libs/python/Include/cpython/longobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/longobject.h> +#else +#error "No <cpython/longobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/memoryobject.h b/contrib/libs/python/Include/cpython/memoryobject.h new file mode 100644 index 00000000000..24c212f367e --- /dev/null +++ b/contrib/libs/python/Include/cpython/memoryobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/memoryobject.h> +#else +#error "No <cpython/memoryobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/methodobject.h b/contrib/libs/python/Include/cpython/methodobject.h new file mode 100644 index 00000000000..0555cf051bf --- /dev/null +++ b/contrib/libs/python/Include/cpython/methodobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/methodobject.h> +#else +#error "No <cpython/methodobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/modsupport.h b/contrib/libs/python/Include/cpython/modsupport.h new file mode 100644 index 00000000000..78edd7410e1 --- /dev/null +++ b/contrib/libs/python/Include/cpython/modsupport.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/modsupport.h> +#else +#error "No <cpython/modsupport.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/object.h b/contrib/libs/python/Include/cpython/object.h new file mode 100644 index 00000000000..5fb33ff87eb --- /dev/null +++ b/contrib/libs/python/Include/cpython/object.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/object.h> +#else +#error "No <cpython/object.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/objimpl.h b/contrib/libs/python/Include/cpython/objimpl.h new file mode 100644 index 00000000000..1b60476e509 --- /dev/null +++ b/contrib/libs/python/Include/cpython/objimpl.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/objimpl.h> +#else +#error "No <cpython/objimpl.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/odictobject.h b/contrib/libs/python/Include/cpython/odictobject.h new file mode 100644 index 00000000000..7fcc7130f9c --- /dev/null +++ b/contrib/libs/python/Include/cpython/odictobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/odictobject.h> +#else +#error "No <cpython/odictobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/picklebufobject.h b/contrib/libs/python/Include/cpython/picklebufobject.h new file mode 100644 index 00000000000..15cb201e997 --- /dev/null +++ b/contrib/libs/python/Include/cpython/picklebufobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/picklebufobject.h> +#else +#error "No <cpython/picklebufobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/pthread_stubs.h b/contrib/libs/python/Include/cpython/pthread_stubs.h new file mode 100644 index 00000000000..96d5da52734 --- /dev/null +++ b/contrib/libs/python/Include/cpython/pthread_stubs.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/pthread_stubs.h> +#else +#error "No <cpython/pthread_stubs.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/pyctype.h b/contrib/libs/python/Include/cpython/pyctype.h new file mode 100644 index 00000000000..175ff22df7f --- /dev/null +++ b/contrib/libs/python/Include/cpython/pyctype.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/pyctype.h> +#else +#error "No <cpython/pyctype.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/pydebug.h b/contrib/libs/python/Include/cpython/pydebug.h new file mode 100644 index 00000000000..4169d56a885 --- /dev/null +++ b/contrib/libs/python/Include/cpython/pydebug.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/pydebug.h> +#else +#error "No <cpython/pydebug.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/pyerrors.h b/contrib/libs/python/Include/cpython/pyerrors.h new file mode 100644 index 00000000000..906d99775a7 --- /dev/null +++ b/contrib/libs/python/Include/cpython/pyerrors.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/pyerrors.h> +#else +#error "No <cpython/pyerrors.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/pyfpe.h b/contrib/libs/python/Include/cpython/pyfpe.h new file mode 100644 index 00000000000..24e1ce70566 --- /dev/null +++ b/contrib/libs/python/Include/cpython/pyfpe.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/pyfpe.h> +#else +#error "No <cpython/pyfpe.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/pyframe.h b/contrib/libs/python/Include/cpython/pyframe.h new file mode 100644 index 00000000000..1de542b3719 --- /dev/null +++ b/contrib/libs/python/Include/cpython/pyframe.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/pyframe.h> +#else +#error "No <cpython/pyframe.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/pylifecycle.h b/contrib/libs/python/Include/cpython/pylifecycle.h new file mode 100644 index 00000000000..9f30e1829a1 --- /dev/null +++ b/contrib/libs/python/Include/cpython/pylifecycle.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/pylifecycle.h> +#else +#error "No <cpython/pylifecycle.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/pymem.h b/contrib/libs/python/Include/cpython/pymem.h new file mode 100644 index 00000000000..5301b257b0e --- /dev/null +++ b/contrib/libs/python/Include/cpython/pymem.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/pymem.h> +#else +#error "No <cpython/pymem.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/pystate.h b/contrib/libs/python/Include/cpython/pystate.h new file mode 100644 index 00000000000..907759298c7 --- /dev/null +++ b/contrib/libs/python/Include/cpython/pystate.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/pystate.h> +#else +#error "No <cpython/pystate.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/pythonrun.h b/contrib/libs/python/Include/cpython/pythonrun.h new file mode 100644 index 00000000000..b1c9393594f --- /dev/null +++ b/contrib/libs/python/Include/cpython/pythonrun.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/pythonrun.h> +#else +#error "No <cpython/pythonrun.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/pythread.h b/contrib/libs/python/Include/cpython/pythread.h new file mode 100644 index 00000000000..9471f094ab5 --- /dev/null +++ b/contrib/libs/python/Include/cpython/pythread.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/pythread.h> +#else +#error "No <cpython/pythread.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/pytime.h b/contrib/libs/python/Include/cpython/pytime.h new file mode 100644 index 00000000000..359daeadd6d --- /dev/null +++ b/contrib/libs/python/Include/cpython/pytime.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/pytime.h> +#else +#error "No <cpython/pytime.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/setobject.h b/contrib/libs/python/Include/cpython/setobject.h new file mode 100644 index 00000000000..ed925494f69 --- /dev/null +++ b/contrib/libs/python/Include/cpython/setobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/setobject.h> +#else +#error "No <cpython/setobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/sysmodule.h b/contrib/libs/python/Include/cpython/sysmodule.h new file mode 100644 index 00000000000..6450ed88fc8 --- /dev/null +++ b/contrib/libs/python/Include/cpython/sysmodule.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/sysmodule.h> +#else +#error "No <cpython/sysmodule.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/traceback.h b/contrib/libs/python/Include/cpython/traceback.h new file mode 100644 index 00000000000..3c3896f8086 --- /dev/null +++ b/contrib/libs/python/Include/cpython/traceback.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/traceback.h> +#else +#error "No <cpython/traceback.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/tupleobject.h b/contrib/libs/python/Include/cpython/tupleobject.h new file mode 100644 index 00000000000..2dbdac228fd --- /dev/null +++ b/contrib/libs/python/Include/cpython/tupleobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/tupleobject.h> +#else +#error "No <cpython/tupleobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/unicodeobject.h b/contrib/libs/python/Include/cpython/unicodeobject.h new file mode 100644 index 00000000000..5a581efbf61 --- /dev/null +++ b/contrib/libs/python/Include/cpython/unicodeobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/unicodeobject.h> +#else +#error "No <cpython/unicodeobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/warnings.h b/contrib/libs/python/Include/cpython/warnings.h new file mode 100644 index 00000000000..4fb943deffa --- /dev/null +++ b/contrib/libs/python/Include/cpython/warnings.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/warnings.h> +#else +#error "No <cpython/warnings.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/weakrefobject.h b/contrib/libs/python/Include/cpython/weakrefobject.h new file mode 100644 index 00000000000..8b9407d177f --- /dev/null +++ b/contrib/libs/python/Include/cpython/weakrefobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/Include/cpython/weakrefobject.h> +#else +#error "No <cpython/weakrefobject.h> in Python2" +#endif |