New submission from Rémi Lapeyre <remi.lape...@henki.fr>:

This is the current repr of the configparser.ConfigParser instances:

>>> import configparser
>>> config = configparser.ConfigParser()
>>> config['sec'] = {}
>>> config
<configparser.ConfigParser object at 0x10b656ad0>


I think this could be improved to read:

<ConfigParser sections=('sec',)>

----------
components: Library (Lib)
messages: 335831
nosy: remi.lapeyre
priority: normal
severity: normal
status: open
title: Import configparser.ConfigParser repr
type: enhancement
versions: Python 3.8

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

Reply via email to