From c40b7afee28fb928fdc3f07a9a7e9d4ef17347ba Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Wed, 29 Oct 2003 07:23:57 +0000 Subject: Update test to include "sorted" in dir(list). --- Lib/test/test_descrtut.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v0.12