[Tutor] Store Class in Tuple Before Defining it ...

Damon Timm damontimm at gmail.com
Fri Aug 28 23:10:16 CEST 2009


Hi -

I would like to have a tuple that holds information, as such:

VIDEO_TYPES = (
    (SyncYoutube,
re.compile(r'([^(]|^)http://www\.youtube\.com/watch\?\S*v=(?P<youtubeid>[A-Za-z0-9_-]+)\S*'),),

)


More information about the Tutor mailing list