On 10/19/2010 5:43 PM, Seebs wrote:

That reminds me, though.  Speaking of deprecation, I have:
        from string import Template
(see PEP 292 or so?), and pylint says "Uses of a deprecated module 'string'",
but I don't know of a way to get Template except by doing that.

A buggy PyLint is passing on bad (obsolete, deprecated ;-) info: In 3.1

>>> import string
>>> dir(string)
['Formatter', 'Template', '_TemplateMetaclass', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '_multimap', '_re', 'ascii_letters', 'ascii_lowercase', 'ascii_uppercase', 'capwords', 'digits', 'hexdigits', 'maketrans', 'octdigits', 'printable', 'punctuation', 'whitespace']

--
Terry Jan Reedy

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to