summaryrefslogtreecommitdiffstats
path: root/Objects/floatobject.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1997-10-06 17:49:20 (GMT)
committerBarry Warsaw <barry@python.org>1997-10-06 17:49:20 (GMT)
commitc38c5da5d0ce35442e859d64e6cfa734688a470e (patch)
tree31a597dcfd093364cceeaeed57e4756ac06c2c9f /Objects/floatobject.c
parent596db3161c8cf0a492f5613cb5721b6c12c1dceb (diff)
downloadcpython-c38c5da5d0ce35442e859d64e6cfa734688a470e.zip
cpython-c38c5da5d0ce35442e859d64e6cfa734688a470e.tar.gz
cpython-c38c5da5d0ce35442e859d64e6cfa734688a470e.tar.bz2
dict_get(): New method for item access with different semantics than
__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.
Diffstat (limited to 'Objects/floatobject.c')
0 files changed, 0 insertions, 0 deletions