mirror of
https://github.com/boostorg/python.git
synced 2026-01-27 19:12:16 +00:00
tweak: wrong c++ code written in python
[SVN r31307]
This commit is contained in:
@@ -1307,7 +1307,7 @@ __tip__ The astute reader might have noticed that the [^extract<T>]
|
||||
facility in fact solves the mutable copying problem:
|
||||
|
||||
dict d = extract<dict>(x.attr("__dict__"));
|
||||
d['whatever'] = 3; # modifies x.__dict__ !
|
||||
d["whatever"] = 3; // modifies x.__dict__ !
|
||||
|
||||
|
||||
[endsect]
|
||||
|
||||
Reference in New Issue
Block a user