Message416277
The __doc__ attribute of several object types is not writable: notably descriptors (method/member/getset), as well builtin methods.
This is annoying when wanting to generate docstrings for these objects dynamically. While it's not useful for regular Python code, it comes up when using Cython, which uses these types to implement the methods and properties of "cdef" classes. |
|
Date |
User |
Action |
Args |
2022-03-29 17:32:48 | pitrou | set | recipients:
+ pitrou |
2022-03-29 17:32:48 | pitrou | set | messageid: <1648575168.9.0.879509749563.issue47153@roundup.psfhosted.org> |
2022-03-29 17:32:48 | pitrou | link | issue47153 messages |
2022-03-29 17:32:48 | pitrou | create | |
|