diff --git a/snippets/python_snippets.json b/snippets/python_snippets.json index 65c520b..eee28b0 100644 --- a/snippets/python_snippets.json +++ b/snippets/python_snippets.json @@ -3468,6 +3468,14 @@ ], "description": "__iter__ method" }, + "if __name__": { + "prefix": "if __name__=>", + "body": [ + "if __name__ == \"__main__\":", + "\t" + ], + "description": "if name equals main" + }, "__next__": { "prefix": "__next__=>", "body": [