diff options
author | shadchin <shadchin@yandex-team.com> | 2023-01-10 10:47:25 +0300 |
---|---|---|
committer | shadchin <shadchin@yandex-team.com> | 2023-01-10 10:47:25 +0300 |
commit | 1b35d913420f5246913dd39da425845f3bb7ddfe (patch) | |
tree | 311a7165956a1d8e6a5eae2913665d21ac7a32d4 /contrib/libs/python | |
parent | 7ade5ad16d098a48b1586948baae4f9b2fa1dbb5 (diff) | |
download | ydb-1b35d913420f5246913dd39da425845f3bb7ddfe.tar.gz |
Update Python from 3.10.9 to 3.11.1
Diffstat (limited to 'contrib/libs/python')
-rw-r--r-- | contrib/libs/python/Include/internal/pycore_frame.h | 7 | ||||
-rw-r--r-- | contrib/libs/python/Include/longintrepr.h | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/contrib/libs/python/Include/internal/pycore_frame.h b/contrib/libs/python/Include/internal/pycore_frame.h new file mode 100644 index 0000000000..09ebc0ed13 --- /dev/null +++ b/contrib/libs/python/Include/internal/pycore_frame.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/src/Include/internal/pycore_frame.h> +#else +#error "No <internal/pycore_frame.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/longintrepr.h b/contrib/libs/python/Include/longintrepr.h index 01a8c7a79f..2490f2c1ce 100644 --- a/contrib/libs/python/Include/longintrepr.h +++ b/contrib/libs/python/Include/longintrepr.h @@ -1,7 +1,7 @@ #pragma once #ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/longintrepr.h> +#error "No <longintrepr.h> in Python3" #else #include <contrib/tools/python/src/Include/longintrepr.h> #endif |