[Python-bugs-list] [ python-Bugs-487165 ] difficult to find string interpolation

noreply@sourceforge.net noreply@sourceforge.net
Fri, 30 Nov 2001 08:30:15 -0800


Bugs item #487165, was opened at 2001-11-29 10:48
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=487165&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gábor BORGULYA (borgulya)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: difficult to find string interpolation

Initial Comment:
I tried to look up the possibilities how to formulate
expressions like
'Hello %s\n' % name

After a long search I found out that this is "string
interpolation". But searching for the word
'interpolation' resulted only in pages about
interpolation errors.

Finally I found the page:
Python library reference, 2.1.5.2 String Formatting
Operations.
This is what I wanted to see. This page does not
contain the word "interpolation".

I think this part of the documentation should be made
easier to find.

----------------------------------------------------------------------

>Comment By: Skip Montanaro (montanaro)
Date: 2001-11-30 08:30

Message:
Logged In: YES 
user_id=44345

I just tried adding the following extra index entries to
the string formatting section in libstdtypes.tex:

\index{\% formatting}
\index{string interpolation}
\index{string!interpolation}
\index{interpolation, string}

All but the first one worked.  The first sort of worked,
but the "% formatting" entry came up in the index under
the character "<" for some reason.  Perhaps Fred knows
how to work around that problem.

Skip



----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=487165&group_id=5470