MCPcopy Index your code
hub / github.com/python/cpython / duplicate

Method duplicate

Lib/test/test_funcattrs.py:64–66  ·  view source on GitHub ↗

my docstring

()

Source from the content-addressed store, hash-verified

62 def test_duplicate_function_equality(self):
63 # Body of `duplicate' is the exact same as self.b
64 def duplicate():
65 'my docstring'
66 return 3
67 self.assertNotEqual(self.b, duplicate)
68
69 def test_copying___code__(self):

Callers 2

duplicate_for_childMethod · 0.80
spawn_mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected