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

Switch '.' to 's' for convenience when writing docstrings #14

Merged
merged 3 commits into from
Oct 14, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Switch '..' to 's' instead?
  • Loading branch information
macintacos committed Oct 13, 2021
commit b9f1d147dc0b44a951c215c940bdc8128af605c9
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Thanks!
| tryef | try:except:else:finally: |
| trye | try:except:else: |
| tryf | try:except:finally: |
| .. | self |
| s | self |
| __ | __magic__ |
| ifmain | if __name__ == "__main__" |

Expand Down
2 changes: 1 addition & 1 deletion snippets/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"description" : "Code Snippet for a try/except/finally."
},
"self": {
"prefix": "..",
"prefix": "s",
"body": "self.$0",
"description" : "Shortend snippet to reference the self property in an object."
},
Expand Down