mirror of
https://github.com/python/cpython.git
synced 2025-10-08 16:11:51 +00:00
Implement PEP 393.
This commit is contained in:
parent
48d49497c5
commit
d63a3b8beb
102 changed files with 8153 additions and 5431 deletions
|
@ -160,4 +160,9 @@ PyAPI_FUNC(PyObject*) _Py_Mangle(PyObject *p, PyObject *name);
|
|||
#define PyDoc_STR(str) ""
|
||||
#endif
|
||||
|
||||
#define PY_ARRAY_LENGTH(array) (sizeof(array) / sizeof((array)[0]))
|
||||
|
||||
#define PY_MIN(x, y) (((x) > (y)) ? (y) : (x))
|
||||
#define PY_MAX(x, y) (((x) > (y)) ? (x) : (y))
|
||||
|
||||
#endif /* !Py_PYTHON_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue