File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ def gtest(obj, out):
58
58
'Create and return a new object. See help(type) for accurate signature.' )
59
59
gtest (list .__init__ ,
60
60
'Initialize self. See help(type(self)) for accurate signature.' )
61
- append_doc = "L.append(object) -> None -- append object to end"
61
+ append_doc = "L.append(object) -> None -- append object to end" #see3.7
62
62
gtest (list .append , append_doc )
63
63
gtest ([].append , append_doc )
64
64
gtest (List .append , append_doc )
@@ -81,9 +81,9 @@ def f(): pass
81
81
82
82
def test_multiline_docstring (self ):
83
83
# Test fewer lines than max.
84
- self .assertEqual (signature (list ),
85
- "list( ) -> new empty list \n "
86
- "list(iterable ) -> new list initialized from iterable's items " )
84
+ self .assertEqual (signature (range ),
85
+ "range(stop ) -> range object \n "
86
+ "range(start, stop[, step] ) -> range object " )
87
87
88
88
# Test max lines
89
89
self .assertEqual (signature (bytes ), '''\
You can’t perform that action at this time.
0 commit comments