Extending python & mutability

Brian Quinlan BrianQ at ActiveState.com
Wed Jun 27 18:05:56 EDT 2001


> When extending python, if I have a function that is expecting
> a list whose contents are mutible, can I modify the contents
> and will the changes be reflected in back in Python?

Yes, any changes that you make to objects that you are passed will be
reflected in Python.





More information about the Python-list mailing list