pep 308: why doing (almost) nothing suffices

phil hunt philh at cabalamat.org
Mon Mar 10 04:30:23 CET 2003


On Mon, 10 Mar 2003 00:24:24 GMT, Edward K. Ream <edream at tds.net> wrote:
>
>2. We add a string method (say, quote) that quotes any string such that
>eval(s.quote()) evaluates to s for any string s.

How about repr(s)?

-- 
|*|*|  Philip Hunt <philh at cabalamat.org>  |*|*|
|*|*|  "Memes are a hoax; pass it on"     |*|*|





More information about the Python-list mailing list