From 4f2e0a03f14a8aa90515a58cb5948fc3e233fd04 Mon Sep 17 00:00:00 2001 From: guneysus Date: Thu, 18 Dec 2014 18:21:43 +0200 Subject: [PATCH] Python args and kwargs snippets --- snippets/python.snippets | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/snippets/python.snippets b/snippets/python.snippets index c221f46..a93b654 100644 --- a/snippets/python.snippets +++ b/snippets/python.snippets @@ -208,3 +208,9 @@ snippet kwg self.${1:var_name} = kwargs.get('$1', ${2:None}) snippet lkwg ${1:var_name} = kwargs.get('$1', ${2:None}) +snippet args + *args${1:,}${0} +snippet kwargs + **kwargs${1:,}${0} +snippet akw + *args, **kwargs${1:,}${0}