On Thu, 4 Feb 2021 at 01:21, Petr Viktorin <[email protected]> wrote:

> The PEP does lack a "How to teach" section.

I can add it tonight, and I think it would clarify some corner cases
to make them more natural.
Do you have something specific you are concerned about, when it comes
to "teachability" (stress point, hard to grok, expected common
mistakes)?

I'd focus only on the use of the feature "from the outside", that is,
using the indexing operation as a common user.
For implementing the dunders, it's an advanced feature and it's
unlikely to be discussed during basic teaching sessions.



-- 
Kind regards,

Stefano Borini
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/BJ5IT7T5RA6XFDZWTNIOPGLA6FSV35D2/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to