Last active
May 12, 2016 03:38
-
-
Save pjenvey/cb8b570f24685c3b6837b05dc67888c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_TPFLAGS_HEAPTYPE = 1 << 9 | |
def _is_heaptype(typ): | |
return typ.__flags__ & _TPFLAGS_HEAPTYPE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment