[issue11475] trunc in documentation of numbers.Real should math.trunc

2011-03-12 Thread MATSUI Tetsushi
New submission from MATSUI Tetsushi : In the documentation of numbers.Real: "In short, those are: a conversion to float, trunc(), round(), math.floor(), math.ceil(), divmod(), //, %, <, <=, >, and >=." where only "trunc" is not linked if we look at it in html pag

[issue8851] pkgutil document needs more markups

2010-05-28 Thread MATSUI Tetsushi
New submission from MATSUI Tetsushi : The library reference of pkgutil is only sparsely marked up. The attached patch is against 2.6 version, because I'm currently working with 2.6. Since a part of markups (namely :pep:'s) has already been done for 3.2 version, the patch cannot

[issue8642] json.loads description

2010-05-07 Thread MATSUI Tetsushi
MATSUI Tetsushi added the comment: OK, here you are. -- keywords: +patch Added file: http://bugs.python.org/file17256/json.diff ___ Python tracker <http://bugs.python.org/issue8

[issue8642] json.loads description

2010-05-07 Thread MATSUI Tetsushi
New submission from MATSUI Tetsushi : At the end of description of json.loads, dump() should be load(). -- assignee: d...@python components: Documentation messages: 105187 nosy: d...@python, mft priority: normal severity: normal status: open title: json.loads description versions

[issue6376] description of Decinal.logical_invert is incorrect

2009-06-29 Thread MATSUI Tetsushi
New submission from MATSUI Tetsushi : The library reference of Decimal.logical_invert: .. method:: logical_invert(other[, context]) :meth:`logical_invert` is a logical operation. The argument must be a *logical operand* (see :ref:`logical_operands_label`). The result is

[issue3749] incrementalencoder and incrementalencoder

2008-09-01 Thread MATSUI Tetsushi
New submission from MATSUI Tetsushi <[EMAIL PROTECTED]>: In the codecs module section of the Library Reference, an explanation about incrementalencoder and decoder starts with "incrementalencoder and incrementalencoder:" (both are 'encoder's). Moreover, the co

[issue3540] NotEmptyErrorError

2008-08-11 Thread MATSUI Tetsushi
New submission from MATSUI Tetsushi <[EMAIL PROTECTED]>: In the library reference of mailbox, NotEmptyError appears as NotEmptyErrorError. For exampe: http://docs.python.org/dev/3.0/library/mailbox.html#mailbox.NotEmptyErrorError -- assignee: georg.brandl components: Documen

[issue2018] TextCalendar.formatmonth is not influenced by setfirstweekday

2008-02-07 Thread MATSUI Tetsushi
MATSUI Tetsushi added the comment: In the message msg62100, I asked about the place of *setfirstweekday()*. Your answer in the message msg62173 was about *formatmonth()*. I don't think the fix is complete until some explanations are given for firstweekday and/or its getter/setter, since

[issue2018] TextCalendar.formatmonth is not influenced by setfirstweekday

2008-02-06 Thread MATSUI Tetsushi
MATSUI Tetsushi added the comment: There is another wrong documentation about firstweekday. In the part of Calendar.iterweekdays, a method "firstweekday" appered. But indeed it means the method "getfirstweekday()", since firstweekday is merely an uncallable integer attribute

[issue2018] TextCalendar.formatmonth is not influenced by setfirstweekday

2008-02-06 Thread MATSUI Tetsushi
MATSUI Tetsushi added the comment: Thank you for the clarification. But then, where is the documentation about the setfirstweekday() method? __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue2018] TextCalendar.formatmonth is not influenced by setfirstweekday

2008-02-06 Thread MATSUI Tetsushi
New submission from MATSUI Tetsushi: TextCalendar.formatmonth is not influenced by setfirstweekday, but the argument of constructor. Documentation: Depends on the first weekday as set by setfirstweekday(). actual behavior: >>> cal0 = calendar.TextCalendar() >>> print cal0.f

[issue2017] Calendar.yeardatescalendar etc. do not take 'month' argument

2008-02-05 Thread MATSUI Tetsushi
New submission from MATSUI Tetsushi: Similar to the issue 1046, The documentation of Calendar.year*calendar incorrectly have 'month' argument. >>> cal = calendar.Calendar(5) >>> cal.yeardatescalendar(2008,2,3) Traceback (most recent call last): Fi

[issue1680] what is decimal.Context.get_manager()?

2007-12-21 Thread MATSUI Tetsushi
New submission from MATSUI Tetsushi: In the section Context Manager Types of the Library reference, the __enter__ method of context management protocol is explained as: An example of a context manager that returns a related object is the one returned by decimal.Context.get_manager(). But I

[issue1678] description of startswith is confused

2007-12-21 Thread MATSUI Tetsushi
New submission from MATSUI Tetsushi: In the Library Reference 3.6.1 String Method, the description of startswith is confused with endswith. It says: prefix can also be a tuple of suffixes to look for. Here, "suffixes" means "prefixes". Note: This part is new for 2.5. -