From 469e9a6f0b15ae59814cf03293e6f9bd8b94b128 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Wed, 11 Sep 2024 09:58:14 +0200 Subject: [PATCH] python-mode: __missing__ was missing its key argument. (#502) cf. https://docs.python.org/3/reference/datamodel.html#object.__missing__ --- snippets/python-mode/__missing__ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/python-mode/__missing__ b/snippets/python-mode/__missing__ index bf798515..2a239a07 100644 --- a/snippets/python-mode/__missing__ +++ b/snippets/python-mode/__missing__ @@ -3,5 +3,5 @@ # key: _missing # group: Special methods # -- -def __missing__(self): +def __missing__(self, key): return $0