Don't claim to new-style support in classic mode
This commit is contained in:
parent
475d03f195
commit
506a5bc8e6
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue