On Sat, 2011-11-12 at 12:56 +0100, candide wrote:

> So what is the pragmatics of the as syntax ?

Another case:

try:
    import json
except:
    import simplejson as json


(same goes for several modules where the C implementation may or may not
be available)

Tim

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to