Implement __getnewargs__ for #3628

This commit is contained in:
Luis San Pablo 2015-12-03 21:12:03 +00:00
parent 9f74b8860e
commit 44a3d41ce9
1 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,9 @@ class Hyperlink(six.text_type):
ret.name = name
return ret
def __getnewargs__(self):
return(str(self), self.name,)
is_hyperlink = True