[docs] [issue16085] Minor config parser doc change

Mark Lawrence report at bugs.python.org
Sat Sep 29 15:43:43 CEST 2012


New submission from Mark Lawrence:

>From http://docs.python.org/library/configparser.html#examples

float = config.getfloat('Section1', 'float')
int = config.getint('Section1', 'int')
print float + int

It's not a good idea to have float or int used like this in examples.  Maybe my_float and my_int or sec1_float and sec_int?

----------
assignee: docs at python
components: Documentation
messages: 171573
nosy: BreamoreBoy, docs at python
priority: normal
severity: normal
status: open
title: Minor config parser doc change
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16085>
_______________________________________


More information about the docs mailing list