[ python-Bugs-1266296 ] Mistakes in decimal.Context.subtract documentation
SourceForge.net
noreply at sourceforge.net
Mon Aug 22 17:43:26 CEST 2005
Bugs item #1266296, was opened at 2005-08-22 10:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1266296&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Jim Sizelove (jsizelove)
Assigned to: Nobody/Anonymous (nobody)
Summary: Mistakes in decimal.Context.subtract documentation
Initial Comment:
The subtract method of the decimal.Context object is
misspelled as
substract
in the online html documentation for the decimal
module, section 5.6.3.
At the Python interactive prompt:
>>> import decimal
>>> help(decimal.Context.subtract)
Help on method subtract in module decimal:
subtract(self, a, b) unbound decimal.Context method
Return the sum of the two operands.
<snip doctest examples>
That description should read:
Returns the difference between a and b.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1266296&group_id=5470
More information about the Python-bugs-list
mailing list