mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-20 13:31:28 +07:00
Add frozenset.__iter__, tuple.__iter__ and file.__iter__ (Py2 only) skeletons
This commit is contained in:
@@ -2494,6 +2494,12 @@ class frozenset(object):
|
||||
"""
|
||||
return False
|
||||
|
||||
def __iter__(self):
|
||||
"""
|
||||
:rtype: collections.Iterator[T]
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
class tuple(object):
|
||||
"""Tuple object."""
|
||||
@@ -2548,6 +2554,12 @@ class tuple(object):
|
||||
"""
|
||||
return 0
|
||||
|
||||
def __iter__(self):
|
||||
"""
|
||||
:rtype: collections.Iterator[object | unknown]
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
class dict(object):
|
||||
"""Dictionary object."""
|
||||
@@ -2821,6 +2833,12 @@ class file(object):
|
||||
"""
|
||||
pass
|
||||
|
||||
def __iter__(self):
|
||||
"""
|
||||
:rtype: collections.Iterator[bytes]
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
class __generator(object):
|
||||
"""A mock class representing the generator function type."""
|
||||
|
||||
@@ -2184,6 +2184,12 @@ class frozenset(object):
|
||||
"""
|
||||
return False
|
||||
|
||||
def __iter__(self):
|
||||
"""
|
||||
:rtype: collections.Iterator[T]
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
|
||||
class tuple(object):
|
||||
@@ -2239,6 +2245,12 @@ class tuple(object):
|
||||
"""
|
||||
return 0
|
||||
|
||||
def __iter__(self):
|
||||
"""
|
||||
:rtype: collections.Iterator[object | unknown]
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
class dict(object):
|
||||
"""Dictionary object."""
|
||||
|
||||
Reference in New Issue
Block a user