object.__getnewargs__()
This method serve a similar purpose as __getnewargs_ex__()
but for protocols 2 and newer. It must return a tuple of arguments args
which will be passed to the __new__()
method upon unpickling.
In protocols 4 and newer, __getnewargs__()
will not be called if __getnewargs_ex__()
is defined.
Please login to continue.