newbie how do I interpret this?

bobueland at yahoo.com bobueland at yahoo.com
Sat Nov 12 12:10:43 EST 2005


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




More information about the Python-list mailing list