Will python never intend to support private, protected and public?

Paul Rubin http
Mon Oct 3 03:38:22 EDT 2005


Paul Rubin <http://phr.cx@NOSPAM.invalid> writes:
>   def countdown():
>     n = 3
>     while n > 0:
>        yield n

Bah, ommitted a line:

   def countdown():
     n = 3
     while n > 0:
        yield n
        n -= 1



More information about the Python-list mailing list