Skip to content

Commit 469e9a6

Browse files
authored
python-mode: __missing__ was missing its key argument. (#502)
cf. https://docs.python.org/3/reference/datamodel.html#object.__missing__
1 parent 1bf0348 commit 469e9a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/python-mode/__missing__

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# key: _missing
44
# group: Special methods
55
# --
6-
def __missing__(self):
6+
def __missing__(self, key):
77
return $0

0 commit comments

Comments
 (0)