MCPcopy
hub / github.com/django/django / __copy__

Method __copy__

django/http/request.py:661–665  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

659 super().__delitem__(key)
660
661 def __copy__(self):
662 result = self.__class__("", mutable=True, encoding=self.encoding)
663 for key, value in self.lists():
664 result.setlist(key, value)
665 return result
666
667 def __deepcopy__(self, memo):
668 result = self.__class__("", mutable=True, encoding=self.encoding)

Callers

nothing calls this directly

Calls 2

listsMethod · 0.80
setlistMethod · 0.45

Tested by

no test coverage detected