Restore Python 3.2/3.3 support

This commit is contained in:
William S Fulton 2018-06-12 07:10:43 +01:00
commit ecf61f8e39
2 changed files with 3 additions and 3 deletions

View file

@ -149,7 +149,7 @@
<p>
This chapter describes SWIG's support of Python. SWIG is compatible
with all recent Python versions (Python 2.7 and Python &gt;= 3.4). If you
with all recent Python versions (Python 2.7 and Python &gt;= 3.2). If you
still need to generate bindings which work with older versions of Python,
you'll have to use SWIG 3.0.x.
</p>

View file

@ -11,8 +11,8 @@
# error "This version of SWIG only supports Python >= 2.7"
#endif
#if PY_VERSION_HEX >= 0x03000000 && PY_VERSION_HEX < 0x03040000
# error "This version of SWIG only supports Python 3 >= 3.4"
#if PY_VERSION_HEX >= 0x03000000 && PY_VERSION_HEX < 0x03020000
# error "This version of SWIG only supports Python 3 >= 3.2"
#endif
/* Common SWIG API */