Steve Newcomb added the comment:

> I preferred the previous example "<id>" because it's not obvious what 
> \042\047 is. 

Yeah, but the example I wrote has an in-pattern backreference and a real reason 
to use one.

In the attached patch, I have changed [\042\047] to [\'\"].  That's certainly 
clearer for everyone who has not memorized the ASCII table in octal!  (Oops.)

> And a bullet list would be less heavyweight IMO.

Well... I rejected that choice because there would be no clarifying columnar 
distinction between contexts and syntaxes.  Personally, I think the table is 
clearer.  It makes it easier for users to find what they need know.

>(Also please use "diff -u"; without context, the patch cannot be applied 
>automatically)

Oops.  Attached.

----------
Added file: http://bugs.python.org/file27219/patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15956>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to