From: Peng Yu on 27 Jul 2010 23:26 I know the library reference webpage for re.MatchObject is at http://docs.python.org/library/re.html#re.MatchObject But I don't find such a help page in python help(). Does anybody know how to get it in help()? >>> help(re.MatchObject) Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'MatchObject' -- Regards, Peng
From: John Machin on 28 Jul 2010 03:16 On Jul 28, 1:26 pm, Peng Yu <pengyu...(a)gmail.com> wrote: > I know the library reference webpage for re.MatchObject is athttp://docs.python.org/library/re.html#re.MatchObject > > But I don't find such a help page in python help(). Does anybody know > how to get it in help()? Yes, but it doesn't tell you very much: | >>> import re | >>> help(re.match('x', 'x')) | Help on SRE_Match object: | | class SRE_Match(__builtin__.object) | | >>>
|
Pages: 1 Prev: The Miracle and Challenge of the Quran Next: Which multiprocessing methods use shared memory? |