This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients McSinyx, brenthuisman, docs@python, rhettinger, xtreak
Date 2021-04-11.00:19:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Currently there is no way to tell if the *attribute* 
> is read-only, read-write or write-only.

Read-only is segregated in the help() output.

>>> class A:
        def computed_field(self):
            'An example property'

>>> help(A)
Help on class A in module __main__:

class A(builtins.object)
 |  Readonly properties defined here:
 |  computed_field
 |      An example property
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |  __dict__
 |      dictionary for instance variables (if defined)
 |  __weakref__
Date User Action Args
2021-04-11 00:19:47rhettingersetrecipients: + rhettinger, docs@python, McSinyx, xtreak, brenthuisman
2021-04-11 00:19:47rhettingersetmessageid: <>
2021-04-11 00:19:47rhettingerlinkissue39125 messages
2021-04-11 00:19:46rhettingercreate