summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorAlec Cooper <ahnolds@gmail.com>2016-01-24 21:24:19 -0500
committerAlec Cooper <ahnolds@gmail.com>2016-02-04 15:27:54 -0500
commit506a5bc8e65141d62a32b03599cc8b64ac5d1d79 (patch)
tree259f5d545174b5623a565b1220185157f1f12f44 /Source
parent475d03f19560dfc1602afdf863478e807cd0f7c1 (diff)
downloadswig-506a5bc8e65141d62a32b03599cc8b64ac5d1d79.tar.gz
Don't claim to new-style support in classic mode
Diffstat (limited to 'Source')
-rw-r--r--Source/Modules/python.cxx2
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);