commit | a427a2b8d09a756119d424efac85159a0270b503 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Mon Oct 29 22:25:45 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Mon Oct 29 22:25:45 2001 +0000 |
tree | f94a983fe68890ca1b91d7dedefaebcd81284597 | |
parent | 7ad2d1eb8eaf8db634b440ef3c4f5a1b9b654cb5 [diff] [blame] |
Rename "dictionary" (type and constructor) to "dict".
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 @@ 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 '{...}'