[Python-Dev] RE: Update to PEP 232

Warren Postma embed at geocities.com
Thu Feb 22 13:00:10 EST 2001


Has the following been considered as a 2.1+ PEP 232 improvement:

def myfunc(param1,param2),{ dict here }:
        "doc here, or in dict"

The above would also allow functions to share a dictionary:

group_dict = { a:1 }
def myfunc1(param1,param2),group_dict:
def myfunc2(param1,param2),group_dict:

The  #def ...# crap looks horrible to me. Suddenly we have Comments Doing
Things.
Ugh!

Warren





More information about the Python-list mailing list