aboutsummaryrefslogtreecommitdiff
path: root/Lib/python
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2018-05-19 12:33:07 +1200
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2018-10-12 07:10:47 +0100
commite4fceee12f6ffda40f4d6b85176c9a3f2b15f818 (patch)
treefce8dbee3701ad23e85a7d92c569f0c1aebeb42b /Lib/python
parent728b8955bd50d79168e121f834295ef30fcdc89e (diff)
downloadswig-e4fceee12f6ffda40f4d6b85176c9a3f2b15f818.tar.gz
Hard-wire -modern and -modernargs on
What SWIG calls "modern" classes are supported by Python 2.3 and up which means they're supported by all the Python versions we aim to support in 4.0.0. Conflicts: Source/Modules/python.cxx This is a cherry-pick and merge from the patch in #1261
Diffstat (limited to 'Lib/python')
-rw-r--r--Lib/python/pyuserdir.swg3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/python/pyuserdir.swg b/Lib/python/pyuserdir.swg
index af9c86d3c..311076079 100644
--- a/Lib/python/pyuserdir.swg
+++ b/Lib/python/pyuserdir.swg
@@ -41,9 +41,6 @@ The implementation is based on this recipe:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/252158
-and works for modern (-modern) and plain python. We do not use __slots__,
-so, it works with old python versions.
-
*/
#define %pythonnondynamic %feature("python:nondynamic", "1")