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

2011-05-29 Thread Martin Ponweiser

New submission from Martin Ponweiser :

I hope the title is self-explanatory.

--
assignee: docs@python
components: Documentation
messages: 137178
nosy: docs@python, mponweiser
priority: normal
severity: normal
status: open
title: Documentation Std. Library 15.7.5 "LogRecord objects": Parameters: 
level(currently wrong) -> levelno (correct)
versions: Python 2.7

___
Python tracker 
<http://bugs.python.org/issue12206>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-05-30 Thread Martin Ponweiser

Martin Ponweiser  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 wrote:

>
> Petri Lehtinen  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 
> <http://bugs.python.org/issue12206>
> ___
>

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

___
Python tracker 
<http://bugs.python.org/issue12206>
___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 <mailto:rep...@bugs.python.org";>rep...@bugs.python.org> 
wrote:

Petri Lehtinen <mailto:pe...@digip.org";>pe...@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 <mailto:rep...@bugs.python.org";>rep...@bugs.python.org>
<http://bugs.python.org/issue12206"; 
target="_blank">http://bugs.python.org/issue12206>
___
-- Martin 
PonweiserFrauengasse 4/8, 2700 Wr. Neustadt, Austriacell phone: 0043 
650-68 27 949 (no SMS inbox)
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com