mirror of
https://github.com/python/cpython.git
synced 2024-11-25 02:44:06 +08:00
25831652fd
(1) dictionaries/mappings now have attributes values() and items() as well as keys(); at the C level, use the new function mappinggetnext() to iterate over a dictionary. (2) "class C(): ..." is now illegal; you must write "class C: ...". (3) Class objects now know their own name (finally!); and minor improvements to the way how classes, functions and methods are represented as strings. (4) Added an "access" statement and semantics. (This is still experimental -- as long as you don't use the keyword 'access' nothing should be changed.) |
||
---|---|---|
.. | ||
classobject.c | ||
dictobject.c | ||
fileobject.c | ||
floatobject.c | ||
frameobject.c | ||
funcobject.c | ||
intobject.c | ||
listobject.c | ||
longobject.c | ||
mappingobject.c | ||
methodobject.c | ||
moduleobject.c | ||
object.c | ||
stringobject.c | ||
tupleobject.c | ||
typeobject.c | ||
xxobject.c |