Skip to content

PybindAttributeWriter: modify writeContents() to return contents string.

As per pybind11's FAQ, certain basic Python types (like str) are immutable. They cannot be passed as parameters into a function with the expectation that the function will modify their contents. So, we instead return the string value in AttributeWriter::writeContents().

Merge request reports