[3.6] bpo-25438: document what codec PyMemberDef T_STRING decodes the… · python/cpython@8945017 (original) (raw)

Original file line number Diff line number Diff line change
@@ -292,7 +292,8 @@ definition with the same method name.
292 292
293 293 :attr:`flags` can be ``0`` for write and read access or :c:macro:`READONLY` for
294 294 read-only access. Using :c:macro:`T_STRING` for :attr:`type` implies
295 -:c:macro:`READONLY`. Only :c:macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX`
295 +:c:macro:`READONLY`. :c:macro:`T_STRING` data is interpreted as UTF-8.
296 + Only :c:macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX`
296 297 members can be deleted. (They are set to *NULL*).
297 298
298 299