Hi,

I see _sre.SRE_Match is returned by re.match. But I don't find where
it is defined. Does anybody know how to get its help page within
python command line? Thanks.

>>> import re
>>> m = re.match('a', 'abc')
>>> print type(m)
<type '_sre.SRE_Match'>
>>> _sre.SRE_Match
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name '_sre' is not defined

-- 
Regards,
Peng
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to