summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-04-19 16:26:06 (GMT)
committerFred Drake <fdrake@acm.org>2001-04-19 16:26:06 (GMT)
commitbd7f818c508248e12f88e51198cb5e9b861dacbf (patch)
tree1ea307fe66a14f3682b36e3731d3e3cf0cd7ad0c /Objects/unicodeobject.c
parent1aec3a16f3bc3d70149c5de67bf2b4af741e9463 (diff)
downloadcpython-bd7f818c508248e12f88e51198cb5e9b861dacbf.zip
cpython-bd7f818c508248e12f88e51198cb5e9b861dacbf.tar.gz
cpython-bd7f818c508248e12f88e51198cb5e9b861dacbf.tar.bz2
Weak*Dictionary: Added docstrings to the classes.
Weak*Dictionary.update(): No longer create a temporary list to hold the things that will be stuffed into the underlying dictionary. This had been done so that if any of the objects used as the weakly-held value was not weakly-referencable, no updates would take place (TypeError would be raised). With this change, TypeError will still be raised but a partial update could occur. This is more like other .update() implementations. Thoughout, use of the name "ref" as a local variable has been removed. The original use of the name occurred when the function to create a weak reference was called "new"; the overloaded use of the name could be confusing for someone reading the code. "ref" used as a variable name has been replaced with "wr" (for 'weak reference').
Diffstat (limited to 'Objects/unicodeobject.c')
0 files changed, 0 insertions, 0 deletions