Author rhettinger
Recipients ascola, eric.smith, paul.j3, rhettinger, xmorel
Date 2020-12-18.23:20:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608333618.81.0.497733382127.issue42572@roundup.psfhosted.org>
In-reply-to
Content
Eric and Paul, I've attached a substantial rewrite of the docs for the *type* parameter:

* Document the exceptions that are handled.
* Show a wider range of examples that work with *type*.
* Discuss when *type* shouldn't be used:  bool, JSONDecoder, etc.
* Create a less whimsical example of a user-defined type converter.
* Explain the interaction between *type* and *default*.

Let me know what you think.
History
Date User Action Args
2020-12-18 23:20:18rhettingersetrecipients: + rhettinger, eric.smith, xmorel, paul.j3, ascola
2020-12-18 23:20:18rhettingersetmessageid: <1608333618.81.0.497733382127.issue42572@roundup.psfhosted.org>
2020-12-18 23:20:18rhettingerlinkissue42572 messages
2020-12-18 23:20:18rhettingercreate