how to repeat function definitions less

alex goretoy aleksandr.goretoy at gmail.com
Sun Mar 15 19:03:36 CET 2009


I will also actually need to nest it like so

d={
   "site_name":["s","site",'
>
> sites','site_name','site_names'],
>    "jar_name":["j","jar",'jars','jar_name','jar_names'],

    "options":{
        "src_name":["ss","src","source"],
        "mod_name":['m',"mod",'mods',"module","modules"],
}

-Alex Goretoy
http://www.goretoy.com



On Sun, Mar 15, 2009 at 10:51 AM, MRAB <google at mrabarnett.plus.com> wrote:

> d={
>>    "site_name":["s","site",'sites','site_name','site_names'],
>>    "jar_name":["j","jar",'jars','jar_name','jar_names'],
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090315/e1faf29e/attachment.html>


More information about the Python-list mailing list