OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Obsolete method in the html module


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