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/2003-November/040101.html below:

[Python-Dev] other "magic strings" issues

[Python-Dev] other "magic strings" issues [Python-Dev] other "magic strings" issuesJeremy Fincher fincher.8 at osu.edu
Fri Nov 7 17:58:03 EST 2003
On Friday 07 November 2003 04:07 pm, Martin v. Löwis wrote:
> Thomas Heller <theller at python.net> writes:
> > But there are probably more useful combinations like
> >
> >     string.letters + string.digits + "_"
>
> I think the typical application of this should use regular expressions
> instead.

A typical application, sure.  But not all applications -- what if the string 
is being built, for instance, to pass as the optional "delete" argument of 
str.translate?

Jeremy

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