Bugs item #1359053, was opened at 2005-11-17 16:53
Message generated for change (Comment added) made by birkenfeld
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1359053&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.5
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Michael Haggerty (mhagger)
Assigned to: Nobody/Anonymous (nobody)
Summary: Incorrect documentation of raw unidaq string literals

Initial Comment:
In the Python Reference Manual, section 2.4.1 (String
literals), the last paragraph contains the sentence:

> When an "r" or "R" prefix is used in conjunction with
> a "u" or "U" prefix, then the \uXXXX escape sequence
> is processed while all other backslashes are left in
> the string.

I believe this is incorrect; \UXXXXXXXX sequences also
seem to be processed (at least in Python 2.3.5 and
2.4.1), and it is also logical that they should be
processed.  The required change to the text is obvious:

When an "r" or "R" prefix is used in conjunction with a
"u" or "U" prefix, then the \uXXXX and \UXXXXXXXX
escape sequences are processed while all other
backslashes are left in the string.


----------------------------------------------------------------------

>Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-11-22 20:25

Message:
Logged In: YES 
user_id=1188172

Thanks! Corrected in revisions 41512 and 41513 (2.4).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1359053&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to