[Python-Dev] PEP 318 - posting draft

Greg Ewing greg at cosc.canterbury.ac.nz
Tue Mar 23 22:20:14 EST 2004


> 2. Define a class with a singleton instance.
> 
>     class MyClass [singleton]:
>         ...

This example appears before you've mentioned the possibility
of applying this to classes. May be the "Possible Extensions"
section should appear earlier?

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+



More information about the Python-Dev mailing list