From 432fdffe1cb558ad784b53270118e049d785096e Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Mon, 17 Jun 2024 23:01:58 +0200 Subject: [PATCH] python-mode: __missing__ was missing its key argument. 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