We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 026ee31 commit 4165633Copy full SHA for 4165633
google/api_core/grpc_helpers.py
@@ -92,7 +92,7 @@ def __iter__(self):
92
"""This iterator is also an iterable that returns itself."""
93
return self
94
95
- def next(self):
+ def __next__(self):
96
"""Get the next response from the stream.
97
98
Returns:
@@ -108,9 +108,6 @@ def next(self):
108
# If the stream has already returned data, we cannot recover here.
109
raise exceptions.from_grpc_error(exc) from exc
110
111
- # Alias needed for Python 2/3 support.
112
- __next__ = next
113
-
114
# grpc.Call & grpc.RpcContext interface
115
116
def add_callback(self, callback):
0 commit comments