Browse Source

interrogate: enable true division in Python 2 as well

This allows using "from __future__ import division" and get the expected result for divisions in Python 2.

Fixes #529
rdb 6 years ago
parent
commit
fa6c066b2f
1 changed files with 0 additions and 1 deletions
  1. 0 1
      dtool/src/interrogate/interfaceMakerPythonNative.cxx

+ 0 - 1
dtool/src/interrogate/interfaceMakerPythonNative.cxx

@@ -1690,7 +1690,6 @@ write_module_class(ostream &out, Object *obj) {
             SlottedFunctionDef def;
             def._answer_location = true_key;
             def._wrapper_type = slotted_def._wrapper_type;
-            def._min_version = 0x03000000;
             def._wrapper_name = func->_name + "_" + true_key;
             slots[true_key] = def;
           }