Skip to content

Commit

Permalink
Fix typo in python/comprehension.json | dictories -> dictionaries (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
sadwhale09 committed May 28, 2024
1 parent aa1583f commit 2a31b7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snippets/python/comprehension.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"Dictionary comprehension": {
"prefix": "dc",
"body": "{${1:key}: ${2:value} for ${3:key}, ${4:value} in ${5:iterable}}$0",
"description": "Handy and faster way to create dictories based on existing dictionaries."
"description": "Handy and faster way to create dictionaries based on existing dictionaries."
},
"Dictionary comprehension if filter": {
"prefix": "dci",
"body": "{${1:key}: ${2:value} for ${3:key}, ${4:value} in ${5:iterable} if ${6:condition}}$0",
"description": "Handy and faster way to create dictories based on existing dictionaries, with conditional if statement."
"description": "Handy and faster way to create dictionaries based on existing dictionaries, with conditional if statement."
},
"Set comprehension": {
"prefix": "sc",
Expand Down

0 comments on commit 2a31b7f

Please sign in to comment.