[docs] [issue12206] Documentation Std. Library 15.7.5 "LogRecord objects": Parameters: level(currently wrong) -> levelno (correct)

Martin Ponweiser report at bugs.python.org
Mon May 30 10:28:30 CEST 2011


Martin Ponweiser <m.ponweiser at gmail.com> added the comment:

You are right, I should have looked closer -- sorry to all involved.
Nevertheless this caused some confusion here. I guess mentioning the
inconsistency in the documentation is out of the question.

On Mon, May 30, 2011 at 10:10 AM, Petri Lehtinen <report at bugs.python.org>wrote:

>
> Petri Lehtinen <petri at digip.org> added the comment:
>
> The name of the "level" parameter to LogRecord constructor is correct in
> the documentation (I checked the code). The only inconsitency that I see is
> that the corresponding attribute name of LogRecord is "levelno".
>
> ----------
> nosy: +petri.lehtinen
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue12206>
> _______________________________________
>

----------
Added file: http://bugs.python.org/file22187/unnamed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12206>
_______________________________________
-------------- next part --------------
You are right, I should have looked closer -- sorry to all involved. Nevertheless this caused some confusion here. I guess mentioning the inconsistency in the documentation is out of the question.<br><br><div class="gmail_quote">
On Mon, May 30, 2011 at 10:10 AM, Petri Lehtinen <span dir="ltr">&lt;<a href="mailto:report at bugs.python.org">report at bugs.python.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Petri Lehtinen &lt;<a href="mailto:petri at digip.org">petri at digip.org</a>&gt; added the comment:<br>
<br>
The name of the &quot;level&quot; parameter to LogRecord constructor is correct in the documentation (I checked the code). The only inconsitency that I see is that the corresponding attribute name of LogRecord is &quot;levelno&quot;.<br>

<br>
----------<br>
nosy: +petri.lehtinen<br>
<div><div></div><div class="h5"><br>
_______________________________________<br>
Python tracker &lt;<a href="mailto:report at bugs.python.org">report at bugs.python.org</a>&gt;<br>
&lt;<a href="http://bugs.python.org/issue12206" target="_blank">http://bugs.python.org/issue12206</a>&gt;<br>
_______________________________________<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Martin Ponweiser<br>Frauengasse 4/8, 2700 Wr. Neustadt, Austria<br>cell phone: 0043 650-68 27 949 (no SMS inbox)<br>


More information about the docs mailing list