Obsolete method in the html module

Vincent Vande Vyvre vincent.vande.vyvre at telenet.be
Sat Jun 9 04:07:18 EDT 2018


Not really important, just a comment.

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)

Vincent

(send at 08:07 GMT)




More information about the Python-list mailing list