4 messages in org.python.python-bugs-list[ python-Bugs-839585 ] String formatt...
FromSent OnAttachments
SourceForge.netMar 20, 2004 1:52 pm 
SourceForge.netMar 20, 2004 1:58 pm 
SourceForge.netMar 20, 2004 2:00 pm 
SourceForge.netMar 20, 2004 2:01 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[ python-Bugs-839585 ] String formatting operator % badly documentedActions...
From:SourceForge.net (nore@sourceforge.net)
Date:Mar 20, 2004 1:58:40 pm
List:org.python.python-bugs-list

Bugs item #839585, was opened at 2003-11-10 17:11 Message generated for change (Settings changed) made by mcherm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=839585&group_id=5470

Category: Documentation Group: Python 2.4 Status: Open Resolution: None Priority: 5 Submitted By: Robert Siemer (siemer)

Assigned to: Fred L. Drake, Jr. (fdrake)

Summary: String formatting operator % badly documented

Initial Comment: Hello everyone!

The % operator works with strings, but this is hard to find in the documentation (Library Reference 2.2.6.2).

Really bad is, that an operator should be documented in the Language Reference, where it isn't.

Lang-Ref "5.6 Binary arithmetic operations" is labeled wrong, as it also describes the non-arithmetic operations of + and * but seems to know nothing about % under that aspect... It is actually indirectly saying that there is no further non-arithmetic operation - but there is: %.

Rob

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

Comment By: Michael Chermside (mcherm) Date: 2004-03-20 13:52

Message: Logged In: YES user_id=99874

Good point, this has long bothered me too.

I'm attaching a patch. Fred, can you review (make sure I didn't introduce broken tex syntax) and check in?

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