diff options
author | Raymond Hettinger <python@rcn.com> | 2003-10-29 07:23:57 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-10-29 07:23:57 (GMT) |
commit | c40b7afee28fb928fdc3f07a9a7e9d4ef17347ba (patch) | |
tree | 662bc66ac2329977d4c74cacbaf193e7487475a2 /Lib/test/test_descrtut.py | |
parent | 0a9b9da0c39eb74075cc93f7d7bd3b5dbcc25320 (diff) | |
download | cpython-c40b7afee28fb928fdc3f07a9a7e9d4ef17347ba.zip cpython-c40b7afee28fb928fdc3f07a9a7e9d4ef17347ba.tar.gz cpython-c40b7afee28fb928fdc3f07a9a7e9d4ef17347ba.tar.bz2 |
Update test to include "sorted" in dir(list).
Diffstat (limited to 'Lib/test/test_descrtut.py')
-rw-r--r-- | Lib/test/test_descrtut.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_descrtut.py b/Lib/test/test_descrtut.py index 5fa0897..c904699 100644 --- a/Lib/test/test_descrtut.py +++ b/Lib/test/test_descrtut.py @@ -225,7 +225,8 @@ Instead, you can get the same information from the list type: 'pop', 'remove', 'reverse', - 'sort'] + 'sort', + 'sorted'] The new introspection API gives more information than the old one: in addition to the regular methods, it also shows the methods that are |