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/2002-June/025798.html below:

[Python-Dev] PEP 292, Simpler String Substitutions

[Python-Dev] PEP 292, Simpler String Substitutions [Python-Dev] PEP 292, Simpler String SubstitutionsPaul Prescod paul@prescod.net
Fri, 21 Jun 2002 12:54:53 -0700
Oren Tirosh wrote:
> 
>...
> No need for double backslash. No need for a special string prefix either
> because \( currently has no meaning.

I like this idea but note that \( does have a current meaning:

>>> "\("
'\\('
>>> "\(" =="\\("
1

I think this is weird but it is inherited from C... So it would take
time to phase this in. First we have to warn about \( and then give
people time to find instances of it and change them to \\(. Then we
could introduce a new meaning for it.

 Paul Prescod




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