summaryrefslogtreecommitdiff
path: root/Cython/Utility/Builtins.c
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2018-10-30 20:17:36 +0100
committerStefan Behnel <stefan_ml@behnel.de>2018-10-30 20:21:07 +0100
commitda657c8e326a419cde8ae6ea91be9661b9622504 (patch)
treee08e8eb50715df9f2a3cbbad008ad8c91bd17a95 /Cython/Utility/Builtins.c
parent5fdbfe49d56d756169e75c80c126eee5fc8fad52 (diff)
downloadcython-da657c8e326a419cde8ae6ea91be9661b9622504.tar.gz
Remove support for Py2.6 and various quirks that special-cased it.gh2692_remove_py26_support
Closes #2692.
Diffstat (limited to 'Cython/Utility/Builtins.c')
-rw-r--r--Cython/Utility/Builtins.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/Cython/Utility/Builtins.c b/Cython/Utility/Builtins.c
index 27a551213..df5c41fbc 100644
--- a/Cython/Utility/Builtins.c
+++ b/Cython/Utility/Builtins.c
@@ -418,9 +418,6 @@ static CYTHON_INLINE PyObject* __Pyx_PyDict_IterItems(PyObject* d) {
//////////////////// py_dict_viewkeys.proto ////////////////////
-#if PY_VERSION_HEX < 0x02070000
-#error This module uses dict views, which require Python 2.7 or later
-#endif
static CYTHON_INLINE PyObject* __Pyx_PyDict_ViewKeys(PyObject* d); /*proto*/
//////////////////// py_dict_viewkeys ////////////////////
@@ -434,9 +431,6 @@ static CYTHON_INLINE PyObject* __Pyx_PyDict_ViewKeys(PyObject* d) {
//////////////////// py_dict_viewvalues.proto ////////////////////
-#if PY_VERSION_HEX < 0x02070000
-#error This module uses dict views, which require Python 2.7 or later
-#endif
static CYTHON_INLINE PyObject* __Pyx_PyDict_ViewValues(PyObject* d); /*proto*/
//////////////////// py_dict_viewvalues ////////////////////
@@ -450,9 +444,6 @@ static CYTHON_INLINE PyObject* __Pyx_PyDict_ViewValues(PyObject* d) {
//////////////////// py_dict_viewitems.proto ////////////////////
-#if PY_VERSION_HEX < 0x02070000
-#error This module uses dict views, which require Python 2.7 or later
-#endif
static CYTHON_INLINE PyObject* __Pyx_PyDict_ViewItems(PyObject* d); /*proto*/
//////////////////// py_dict_viewitems ////////////////////