Obsolete method in the html module

Terry Reedy tjreedy at udel.edu
Sat Jun 9 12:46:44 EDT 2018


On 6/9/2018 4:07 AM, Vincent Vande Vyvre wrote:
> In Python-3.7.0b5 we can find at the end of html/parser.py:
> 
>      def unescape(self, s):
>          warnings.warn('The unescape method is deprecated and will be 
> removed '
>                        'in 3.5, use html.unescape() instead.',
>                        DeprecationWarning, stacklevel=2)
>          return unescape(s)

https://bugs.python.org/issue33813

-- 
Terry Jan Reedy





More information about the Python-list mailing list