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/2007-May/072936.html below:

[Python-Dev] PEP 30XZ: Simplified Parsing

[Python-Dev] PEP 30XZ: Simplified Parsing [Python-Dev] PEP 30XZ: Simplified ParsingFred L. Drake, Jr. fdrake at acm.org
Wed May 2 20:57:38 CEST 2007
On Wednesday 02 May 2007, Trent Mick wrote:
 >      raise MakeError("extracting '%s' in '%s' did not create the "
 >                      "directory that the Python build will expect: "
 >                      "'%s'" % (src_pkg, dst_dir, dst))
 >
 > I use this kind of thing frequently. Don't know if others consider it
 > bad style.

I do this too; this is a good way to have a simple human-readable message 
without doing weird things to about extraneous newlines or strange 
indentation.

-1 on removing implicit string catenation.


  -Fred

-- 
Fred L. Drake, Jr.   <fdrake at acm.org>
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