[Python-ideas] Improving Clarity of re Module

spir denis.spir at gmail.com
Wed Nov 27 11:24:16 CET 2013


On 11/27/2013 11:06 AM, Ned Batchelder wrote:
> While we're at it, how can it be that we haven't improved the __repr__ after all
> these years?
>
>     >>> m = re.search("[ab]", "xay")
>     >>> m
>     <_sre.SRE_Match object at 0x10a2ce9f0>
>
> _sre? SRE_Match? huh? :)
>
> --Ned.

looks like a joke ;-)

Denis


More information about the Python-ideas mailing list