MCPcopy Index your code
hub / github.com/numpy/numpy / __getstate__

Method __getstate__

numpy/polynomial/_polybase.py:497–503  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

495 # Pickle and copy
496
497 def __getstate__(self):
498 ret = self.__dict__.copy()
499 ret['coef'] = self.coef.copy()
500 ret['domain'] = self.domain.copy()
501 ret['window'] = self.window.copy()
502 ret['symbol'] = self.symbol
503 return ret
504
505 def __setstate__(self, dict):
506 self.__dict__ = dict

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected