Skip to content

Commit 7f224d7

Browse files
JulienPalardlewars
authored andcommitted
python-mode: __missing__ was missing its key argument. (AndreaCrotti#502)
cf. https://docs.python.org/3/reference/datamodel.html#object.__missing__
1 parent a632548 commit 7f224d7

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)