[ python-Bugs-1266296 ] Mistakes in decimal.Context.subtract documentation
SourceForge.net
noreply at sourceforge.net
Mon Aug 22 20:27:57 CEST 2005
Bugs item #1266296, was opened at 2005-08-23 00:43
Message generated for change (Comment added) made by quiver
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.
----------------------------------------------------------------------
Comment By: George Yoshida (quiver)
Date: 2005-08-23 03:27
Message:
Logged In: YES
user_id=671362
Same here ::
./Misc/cheatsheet: x+y x-y addition, substraction
----------------------------------------------------------------------
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