[Python-Dev] One-line abstractmethod function?

Ethan Furman ethan at stoneleaf.us
Mon Dec 9 21:30:30 CET 2013


On 12/09/2013 11:52 AM, Allen Li wrote:
>
> Pros:
> Save a lot of lines defining interface-like ABCs, especially in small
> scripts without docstrings (bad practice, but I do it often =))

If the only pro is encouraging bad practice, it's not going to happen. ;)


> Cons:
> Do we need it?

In my opinion, no.

--
~Ethan~



More information about the Python-Dev mailing list