2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-23 05:42:30 +00:00

Fix problem with shared_ptr holder

[SVN r20392]
This commit is contained in:
Raoul Gough
2003-10-15 16:20:15 +00:00
parent 43e1dc9d5b
commit b032914876

View File

@@ -72,7 +72,7 @@ Got expected exception
>>> v[-2:-1] = [] # Delete slice via __setitem__
>>> print [ x for x in v ]
[1, 2, 4, 5, 6, 7, 8]
>>> v [-2:-1] = [9, 10] # Replace and insert via slice
>>> v [-2:-1] = [element_type(9), element_type(10)] # Replace, insert via slice
>>> print [ x for x in v ]
[1, 2, 4, 5, 6, 9, 10, 8]
>>> try: