On Jun 24, 10:06 am, GrayShark <howe.ste...@gmail.com> wrote:
> In my code I have:
> from string import lower, upper
>
> When I use pylint on the program I get just one warning:
>
> Uses of a deprecated module 'string'.
>
> Iv'e noted that many if not all string functions are now in _builtin_.
> Where are the constants?
>
> Thanks
> Steven

Sorry, I meant "from string import lowercase, uppercase"

As I was joining these two, I just changed the import to 'letters'

So if the constants are not deprecated, why is the module? Is some
other
state then deprecated needed to describe functions and/or methods
deprecated,
but not whole modules?

It just seems wrong, this all or nothing state.

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

Reply via email to