From fa6c066b2f21856036cb24d482a7152406c6c2e2 Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 3 Mar 2019 10:29:39 +0100 Subject: [PATCH] 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 --- dtool/src/interrogate/interfaceMakerPythonNative.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/dtool/src/interrogate/interfaceMakerPythonNative.cxx b/dtool/src/interrogate/interfaceMakerPythonNative.cxx index 5f351dbbc1..4d606c65d9 100644 --- a/dtool/src/interrogate/interfaceMakerPythonNative.cxx +++ b/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; }