diff options
author | Alec Cooper <ahnolds@gmail.com> | 2016-01-24 21:24:19 -0500 |
---|---|---|
committer | Alec Cooper <ahnolds@gmail.com> | 2016-02-04 15:27:54 -0500 |
commit | 506a5bc8e65141d62a32b03599cc8b64ac5d1d79 (patch) | |
tree | 259f5d545174b5623a565b1220185157f1f12f44 /Source | |
parent | 475d03f19560dfc1602afdf863478e807cd0f7c1 (diff) | |
download | swig-506a5bc8e65141d62a32b03599cc8b64ac5d1d79.tar.gz |
Don't claim to new-style support in classic mode
Diffstat (limited to 'Source')
-rw-r--r-- | Source/Modules/python.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index e0102a1a8..3eb1f67c3 100644 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -1002,7 +1002,7 @@ public: if (shadow) { Swig_banner_target_lang(f_shadow_py, "#"); - if (!modern) { + if (!modern && !classic) { Printv(f_shadow, "# This file is compatible with both classic and new-style classes.\n", NIL); } Printv(f_shadow_py, "\n", f_shadow_begin, "\n", NIL); |