Removed type annotations for StringIO family in favor of python-skeletons

This commit is contained in:
Andrey Vlasovskikh
2013-10-22 18:41:20 +04:00
parent 3ab2bad21d
commit 70f532bb20
-88
View File
@@ -1,94 +1,6 @@
# Python stdlib
## 7.5. StringIO
StringIO.StringIO.__init__ = \
:type buf: T <= bytes or unicode \n\
:rtype: StringIO of T \n\
StringIO.StringIO.getvalue = \
:rtype: T \n\
StringIO.StringIO.isatty = \
:rtype: bool \n\
StringIO.StringIO.next = \
:rtype: T \n\
StringIO.StringIO.read = \
:type n: int or long or None \n\
:rtype: T \n\
StringIO.StringIO.readline = \
:type length: int or long or None \n\
:rtype: T \n\
StringIO.StringIO.readlines = \
:rtype: list of T \n\
StringIO.StringIO.seek = \
:type position: int or long \n\
StringIO.StringIO.tell = \
:rtype: int \n\
StringIO.StringIO.write = \
:type s: T \n\
:rtype: None \n\
StringIO.StringIO.writelines = \
:type s: collections.Iterable of T \n\
StringIO.StringIO.__iter__ = \
:rtype: StringIO of T \n\
## 7.6. cStringIO
cStringIO.StringIO = \
:type s: T <= bytes or unicode \n\
:rtype: cStringIO.OutputType of T \n\
cStringIO.OutputType.__init__ = \
:rtype: cStringIO.OutputType of T <= bytes or unicode \n\
cStringIO.OutputType.getvalue = \
:rtype: T \n\
cStringIO.OutputType.isatty = \
:rtype: bool \n\
cStringIO.OutputType.next = \
:rtype: T \n\
cStringIO.OutputType.read = \
:type s: int or long or None \n\
:rtype: T \n\
cStringIO.OutputType.readline = \
:rtype: T \n\
cStringIO.OutputType.readlines = \
:rtype: list of T \n\
cStringIO.OutputType.seek = \
:type position: int or long \n\
cStringIO.OutputType.tell = \
:rtype: int \n\
cStringIO.OutputType.write = \
:type s: T \n\
:rtype: None \n\
cStringIO.OutputType.writelines = \
:type s: collections.Iterable of T \n\
cStringIO.OutputType.__iter__ = \
:rtype: cStringIO.OutputType of T \n\
## 8.3. collections
collections.Iterator.__init__ = \