A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-January/011624.html below:

[Python-Dev] Why both r'' and R'', u'' and U''?

[Python-Dev] Why both r'' and R'', u'' and U''?Ka-Ping Yee ping@lfw.org
Sun, 14 Jan 2001 13:01:45 -0800 (PST)
On Sun, 14 Jan 2001, Guido van Rossum wrote:
> 
> It comes from the numeric literals.  C allows 0x0 and 0X0, and 0L as
> well as 0l.  So does Python (and also 0j == 0J).

I just did a little test.  Neither Python, Perl, nor Tcl support
"\X66", only "\x66".  Perl doesn't support 0X1234, only 0x1234.
Tcl's "expr" routine does support 0X1234.  Javascript supports
0X1234, but not "\X66".  I'd bet that no one really relies on or
expects the uppercase forms except L.


-- ?!ng




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4