mirror of
https://github.com/boostorg/python.git
synced 2026-01-23 17:52:17 +00:00
Python 2.2 compatibility
[SVN r32295]
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
'''
|
||||
>>> from stl_iterator_ext import *
|
||||
>>> x = list_int()
|
||||
>>> x.assign([1,2,3,4,5])
|
||||
>>> x.assign(iter([1,2,3,4,5]))
|
||||
>>> for y in x:
|
||||
... print y
|
||||
1
|
||||
|
||||
Reference in New Issue
Block a user