Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
UnboundMethodType is the same as MethodType, and it's gone in Python 3. Removing it doesn't cause any harm because it's just an alias to MethodType
Python 2.7.10 (default, Aug 20 2015, 14:23:27) [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from types import * >>> UnboundMethodType == MethodType True >>> UnboundMethodType is MethodType True