[Python-ideas] Keyword/Symbol literals

Yawar Amin yawar.amin at gmail.com
Thu Jan 22 05:29:55 CET 2015


On 2015-01-21 23:25, Yawar Amin wrote:
> [...]
>   
>     def get_sym(sym_name, d):
>       if s in d: return d[sym_name]

Argh, that should be:

        if sym_name in d: return d[sym_name]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150121/d72a5416/attachment-0001.sig>


More information about the Python-ideas mailing list