Commit cc1f2425 authored by Fantix King's avatar Fantix King Committed by Denis Bilenko

gevent/local.py

 * doctest
parent c2c20287
...@@ -27,7 +27,7 @@ local to a greenlet. If we access the data in a different greenlet: ...@@ -27,7 +27,7 @@ local to a greenlet. If we access the data in a different greenlet:
>>> log = [] >>> log = []
>>> def f(): >>> def f():
... items = mydata.__dict__.items() ... items = list(mydata.__dict__.items())
... items.sort() ... items.sort()
... log.append(items) ... log.append(items)
... mydata.number = 11 ... mydata.number = 11
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment