python3 raw strings and \u escapes

rurpy at rurpy at
Fri Jun 1 00:31:10 CEST 2012

On 05/31/2012 03:10 PM, Chris Angelico wrote:
> On Fri, Jun 1, 2012 at 6:28 AM, rurpy at <rurpy at> wrote:
>> ... a lexer module that is structured as many
>> dozens of little functions, each with a docstring that is
>> a regex string.
> This may be a good opportunity to take a step back and ask yourself:
> Why so many functions, each with a regular expression in its
> docstring?

Because that's the way David Beazley designed Ply?

Personally, I think it's an abuse of docstrings but
he never asked me for my opinion...

More information about the Python-list mailing list