diff --git a/direct/src/showbase/PythonUtil.py b/direct/src/showbase/PythonUtil.py index 239383c6a6..3132adf0ef 100644 --- a/direct/src/showbase/PythonUtil.py +++ b/direct/src/showbase/PythonUtil.py @@ -12,6 +12,7 @@ if __debug__: from direct.directutil import Verify +ScalarTypes = (types.FloatType, types.IntType, types.LongType) # NOTE: ifAbsentPut has been replaced with Python's dictionary's builtin setdefault # before: