Commit 44a3d41c by Luis San Pablo

Implement __getnewargs__ for #3628

parent 9f74b886
...@@ -32,6 +32,9 @@ class Hyperlink(six.text_type): ...@@ -32,6 +32,9 @@ class Hyperlink(six.text_type):
ret.name = name ret.name = name
return ret return ret
def __getnewargs__(self):
return(str(self), self.name,)
is_hyperlink = True is_hyperlink = True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment