Staging
v0.5.1
https://github.com/python/cpython
Revision c38c5da5d0ce35442e859d64e6cfa734688a470e authored by Barry Warsaw on 06 October 1997, 17:49:20 UTC, committed by Barry Warsaw on 06 October 1997, 17:49:20 UTC
__getitem__().  This method never raises an exception; if the key is
not in the dictionary, the second (optional) argument is returned.  If
the second argument is not provided and the key is missing, None is
returned.

mapp_methods: added "get" method.
1 parent 596db31
History
Tip revision: c38c5da5d0ce35442e859d64e6cfa734688a470e authored by Barry Warsaw on 06 October 1997, 17:49:20 UTC
dict_get(): New method for item access with different semantics than
Tip revision: c38c5da
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.hgtags -rw-r--r-- 952 bytes
BUGS -rw-r--r-- 11.6 KB
Makefile.in -rw-r--r-- 15.6 KB
README -rw-r--r-- 32.1 KB
acconfig.h -rw-r--r-- 2.7 KB
config.h.in -rw-r--r-- 9.8 KB
configure -rwxr-xr-x 110.0 KB
configure.in -rw-r--r-- 16.0 KB
install-sh -rwxr-xr-x 2.1 KB

README

back to top