summaryrefslogtreecommitdiffstats
path: root/Lib/repr.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-10-29 22:25:45 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-10-29 22:25:45 (GMT)
commita427a2b8d09a756119d424efac85159a0270b503 (patch)
treef94a983fe68890ca1b91d7dedefaebcd81284597 /Lib/repr.py
parent7ad2d1eb8eaf8db634b440ef3c4f5a1b9b654cb5 (diff)
downloadcpython-a427a2b8d09a756119d424efac85159a0270b503.zip
cpython-a427a2b8d09a756119d424efac85159a0270b503.tar.gz
cpython-a427a2b8d09a756119d424efac85159a0270b503.tar.bz2
Rename "dictionary" (type and constructor) to "dict".
Diffstat (limited to 'Lib/repr.py')
-rw-r--r--Lib/repr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/repr.py b/Lib/repr.py
index 0362680..c69ce28 100644
--- a/Lib/repr.py
+++ b/Lib/repr.py
@@ -48,7 +48,7 @@ class Repr:
s = s + self.repr1(x[i], level-1)
if n > self.maxlist: s = s + ', ...'
return '[' + s + ']'
- def repr_dictionary(self, x, level):
+ def repr_dict(self, x, level):
n = len(x)
if n == 0: return '{}'
if level <= 0: return '{...}'