mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
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
This commit is contained in:
parent
7f4491cb98
commit
fa6c066b2f
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user