Here's a small session

>>> import re
>>> p=re.compile('[a-z]+')
>>> m=p.match('abb1a')
>>> dir(m)
['__copy__', '__deepcopy__', 'end', 'expand', 'group', 'groupdict',
'groups', 'span', 'start']
>>> help(m.groups)
Help on built-in function groups:

groups(...)

>>>

My question is. How do I interpret the hiven help info
groups(...)

alt1. Tough luck. There's no help. People are to busy to write
reference manuals.
alt 2. There are no parameters. The only possibility is m.groups()
alt3. Something else

Thanks Bob

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

Reply via email to