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
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
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
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
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
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
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
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
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
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/
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
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
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
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.
-
14 matches
Mail list logo