Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/docopt/docopt
/ fix
Method
fix
docopt.py:40–43 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
38
return
hash(repr(self))
39
40
def
fix(self):
41
self.fix_identities()
42
self.fix_repeating_arguments()
43
return
self
44
45
def
fix_identities(self, uniq=None):
46
""
"Make pattern-tree tips point to same object if they are equal."
""
Callers
3
docopt
Function · 0.80
test_list_argument_match
Function · 0.80
test_pattern_fix_repeating_arguments
Function · 0.80
Calls
2
fix_identities
Method · 0.95
fix_repeating_arguments
Method · 0.95
Tested by
2
test_list_argument_match
Function · 0.64
test_pattern_fix_repeating_arguments
Function · 0.64