Commit 299456cb authored by Andi Vajda's avatar Andi Vajda
Browse files

refreshed examples for Python 3

parent e1dce4bb
......@@ -279,9 +279,9 @@ For example, let ``e`` be a ``StringEnumeration`` instance:
```python
e = TimeZone.createEnumeration()
[s for s in e] # a list of ``str`` objects
[s for s in iter(e.unext, '')] # a list of ``str`` objects
[s for s in iter(e.snext, '')] # a list of ``UnicodeString`` objects
[s for s in e] # a list of 'str' objects
[s for s in iter(e.unext, '')] # a list of 'str' or 'unicode' objects
[s for s in iter(e.snext, '')] # a list of 'UnicodeString' objects
```
### timezones
......
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