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@python
components: Documentation
messages: 171573
nosy: BreamoreBoy, docs@python
priority: normal
severity: normal
status: open
title: Minor config parser doc change
type: enhancement

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16085>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to