Message257428
The abstract base class would be an ABC providing documentation and a template for implementations, and a way to test using isinstance(). This is how several other ABCs are used that have no particularly useful default implementation.
In addition, the presence of the ABC provides a reference for corresponding class in the typing module (used to express type hints using PEP 484) -- again this is just following the example of the other ABCs. |
|
Date |
User |
Action |
Args |
2016-01-03 21:28:19 | gvanrossum | set | recipients:
+ gvanrossum, brett.cannon, rhettinger, ncoghlan, martin.panter, Nan Wu |
2016-01-03 21:28:19 | gvanrossum | set | messageid: <1451856499.82.0.471395821039.issue25609@psf.upfronthosting.co.za> |
2016-01-03 21:28:19 | gvanrossum | link | issue25609 messages |
2016-01-03 21:28:19 | gvanrossum | create | |
|