> How can I reach the class attribute `regexps' from within a decorator?
Now, the first way that comes to my mind is simply overloading the class and 
set your regexps variable in your new class. 

The other way is to create an object and set it more manually (obj.regexps = 
['.*']). Which for me is an ugly this to do because the first way is far more 
elegant :) 

-- 
GPG key: 0x04B3BB96

Attachment: pgpqg8hSnWlWX.pgp
Description: PGP signature

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

Reply via email to