30 | | |
31 | | **Note1:** PyGTK/GTK+ will accept `str` (utf8 encoded) or `unicode` but will only return `str`. See [http://python-gtk-3-tutorial.readthedocs.org/en/latest/unicode.html GTK+ Unicode] docs. |
32 | | **Note2:** There is also a `bytearray` type which enables in-place modification of a string. See [http://stackoverflow.com/a/9099337/175584 Python Bytearrays] |
33 | | **Note2:** For reference Python 3 renames `unicode` to `str` type and byte arrays becomes `bytes` type. |
| 30 | ''Notes:'' |
| 31 | * ''PyGTK/GTK+ will accept `str` (utf8 encoded) or `unicode` but will only return `str`. See [http://python-gtk-3-tutorial.readthedocs.org/en/latest/unicode.html GTK+ Unicode] docs. ''[[br]] |
| 32 | * ''There is also a `bytearray` type which enables in-place modification of a string. See [http://stackoverflow.com/a/9099337/175584 Python Bytearrays] ''[[br]] |
| 33 | * ''For reference Python 3 renames `unicode` to `str` type and byte strings become `bytes` type. ''[[br]] |