A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2015-October/142011.html below:

[Python-Dev] Should PEP 498 specify if rf'...' is valid?

[Python-Dev] Should PEP 498 specify if rf'...' is valid?Eric V. Smith eric at trueblade.com
Thu Oct 22 08:27:41 EDT 2015
On 10/22/2015 7:32 AM, Eric V. Smith wrote:
> On 10/21/2015 10:57 PM, Ryan Gonzalez wrote:
>> It mentions fr'...' as a formatted raw string but doesn't say anything
>> about rf'...'. Right now, in implementing PEP 498 support in Howl
>> (https://github.com/howl-editor/howl/pull/118 and
>> https://github.com/howl-editor/howl/commit/1e577da89efc1c1de780634b531f64346cf586d6#diff-851d9b84896270cc7e3bbea3014007a5R86),
>> I assumed both were valid. Should the PEP be more specific?
> 
> Yes, I'll add some wording.

Now that I check, in the Specification section, the PEP already says
"'f' may be combined with 'r', in either order, to produce raw f-string
literals". So I think this case is covered, no?

Eric.

More information about the Python-Dev mailing list

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