Commits

lac  committed c4c9322

These poor functions were too unpopulated for the tool to know where to
insert the docstring and get the indentation correct.

  • Participants
  • Parent commits 264f290

Comments (0)

Files changed (2)

File pypy/objspace/std/basestringtype.py

 # ____________________________________________________________
 
 basestring_typedef = StdTypeDef("basestring",
+    __doc__ =  '''Type basestring cannot be instantiated; it is the base for str and unicode.'''                        
     )
+

File pypy/objspace/std/itertype.py

 
 # ____________________________________________________________
 iter_typedef = StdTypeDef("sequenceiterator",
+    __doc__ = '''iter(collection) -> iterator
+iter(callable, sentinel) -> iterator
+
+Get an iterator from an object.  In the first form, the argument must
+supply its own iterator, or be a sequence.
+In the second form, the callable is called until it returns the sentinel.'''
     )
 
 reverse_iter_typedef = StdTypeDef("reversesequenceiterator",