summaryrefslogtreecommitdiffstats
path: root/Include/object.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-15 21:05:10 (GMT)
committerGuido van Rossum <guido@python.org>2001-10-15 21:05:10 (GMT)
commit2f3ca6eeb6eeebcfa038cd52aca5fecfa74dbd28 (patch)
treee9b823fc62c193e76066e8bfc1d0fbde0d3e6926 /Include/object.h
parentf118cb1d6fe74dc8f4b280ecd751f20777ce4fa9 (diff)
downloadcpython-2f3ca6eeb6eeebcfa038cd52aca5fecfa74dbd28.zip
cpython-2f3ca6eeb6eeebcfa038cd52aca5fecfa74dbd28.tar.gz
cpython-2f3ca6eeb6eeebcfa038cd52aca5fecfa74dbd28.tar.bz2
Completely get rid of __dynamic__ and the corresponding
Py_TPFLAGS_DYNAMICTYPE bit. There is no longer a performance benefit, and I don't really see the use case any more.
Diffstat (limited to 'Include/object.h')
-rw-r--r--Include/object.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Include/object.h b/Include/object.h
index 8620766..a943c00 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -432,9 +432,6 @@ given type object has a specified feature.
/* Set if the type allows subclassing */
#define Py_TPFLAGS_BASETYPE (1L<<10)
-/* Set if the type's __dict__ may change */
-#define Py_TPFLAGS_DYNAMICTYPE (1L<<11)
-
/* Set if the type is 'ready' -- fully initialized */
#define Py_TPFLAGS_READY (1L<<12)