Skip to content

Commit

Permalink
docs(tasklets): Fix Py2-style print statement (#840)
Browse files Browse the repository at this point in the history
  • Loading branch information
rwhogg authored Nov 29, 2022
1 parent 3d65b77 commit 0ebfaed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google/cloud/ndb/tasklets.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def foo():
def main():
f = foo()
x = f.result()
print x
print(x)
In this example, `foo` needs the results of two futures, `AFuture` and
`BFuture`, which it gets somehow, for example as results of calls.
Expand All @@ -63,7 +63,7 @@ def main():
def main_tasklet():
f = foo()
x = yield f
print x
print(x)
Calling a tasklet automatically schedules it with the event loop::
Expand Down

0 comments on commit 0ebfaed

Please sign in to comment.