Skip to content
This repository was archived by the owner on Jun 25, 2025. It is now read-only.

Commit 6a4df81

Browse files
Set do to False before loop body
1 parent b2268c7 commit 6a4df81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
},
124124
"dowhile": {
125125
"prefix": "dowhile",
126-
"body": "do = True \nwhile do or ${2:condition}:\n\t${1:body}\n\tdo = False$0",
126+
"body": "do = True \nwhile do or ${2:condition}:\n\tdo = False\n\t${1:body}$0",
127127
"description" : "Code snippet to create a do-while loop structure."
128128
},
129129
"try:except:": {

0 commit comments

Comments
 (0)