From: Raymond Hettinger Date: Wed, 29 Oct 2003 07:23:57 +0000 (+0000) Subject: Update test to include "sorted" in dir(list). X-Git-Tag: v2.4a1~1347 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c40b7afee28fb928fdc3f07a9a7e9d4ef17347ba;p=python Update test to include "sorted" in dir(list). --- diff --git a/Lib/test/test_descrtut.py b/Lib/test/test_descrtut.py index 5fa089790e..c90469997b 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