O'Reilly logo
  • María Teresa Rebollo Alonso thinks this is interesting:

>>> print(secret_string.__plain_text)

From

Cover of Python: Master the Art of Design Patterns

Note

There is a typo. plain_text should be substituted by plain_string.

The author probably wanted to notice that plain_string was not accessible through that identifier even if there is an initialized attribute with that name. It is only logical that plain_text was not accessible because there is not such an attribute