diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-08-17 10:29:13 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-08-17 10:29:13 (GMT) |
commit | f880bff41ae75b1ae4e82183c39c8dc59c42bb49 (patch) | |
tree | 6578b19698e45f0a2d211aa0811aa108a28b2f24 /Modules/posixmodule.h | |
parent | 19d07f29cea807e2a5f9640b8ef86db4508dd1a2 (diff) | |
download | cpython-f880bff41ae75b1ae4e82183c39c8dc59c42bb49.zip cpython-f880bff41ae75b1ae4e82183c39c8dc59c42bb49.tar.gz cpython-f880bff41ae75b1ae4e82183c39c8dc59c42bb49.tar.bz2 |
Removed useless Py_LIMITED_API checks.
Support for Py_LIMITED_API was introduced in Python 3.2.
Thanks Arfrever Frehtes Taifersar Arahesis.
Diffstat (limited to 'Modules/posixmodule.h')
-rw-r--r-- | Modules/posixmodule.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/posixmodule.h b/Modules/posixmodule.h index 084e063..6f9d4d3 100644 --- a/Modules/posixmodule.h +++ b/Modules/posixmodule.h @@ -10,14 +10,12 @@ extern "C" { #include <sys/types.h> #endif -#ifndef Py_LIMITED_API #ifndef MS_WINDOWS PyAPI_FUNC(PyObject *) _PyInt_FromUid(uid_t); PyAPI_FUNC(PyObject *) _PyInt_FromGid(gid_t); PyAPI_FUNC(int) _Py_Uid_Converter(PyObject *, void *); PyAPI_FUNC(int) _Py_Gid_Converter(PyObject *, void *); #endif /* MS_WINDOWS */ -#endif #ifdef __cplusplus } |