Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 06787af

Browse filesBrowse files
committed
readme: update about v0.0.6
1 parent fea260a commit 06787af
Copy full SHA for 06787af

File tree

Expand file treeCollapse file tree

1 file changed

+32
-10
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+32
-10
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+32-10Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ Now support these sinppets:
2020
|prop|Property getter|
2121
|props|Property getter/setter|
2222
|propsd|Property getter/setter/deleter|
23+
|deff|python functions|
24+
|adef|python async functions|
25+
|klass|python class without inheritance|
26+
|klassi|python class with inheritance|
27+
|forr|python for x in range(y)|
28+
|afor|python async for in aiterables|
29+
|openw|python open file by with statement|
2330

2431
## Added in v0.0.2
2532

@@ -45,9 +52,7 @@ if __name__ == "__main__":
4552

4653
## Added in v0.0.4
4754

48-
### `def`
49-
50-
type **def** and **tab**
55+
### `deff`
5156

5257
```python
5358
def func_name(func_args):
@@ -56,8 +61,6 @@ def func_name(func_args):
5661

5762
### `klass`
5863

59-
type **klass** and **tab**
60-
6164
```python
6265
class class_name:
6366

@@ -66,8 +69,6 @@ class class_name:
6669

6770
### `klassi`
6871

69-
type **klass** and **tab**
70-
7172
```python
7273
class class_name(super_class):
7374

@@ -78,9 +79,30 @@ class class_name(super_class):
7879

7980
### `adef`
8081

81-
type **adef** and **tab**
82-
8382
```python
8483
async def func_name(func_args):
8584
...
86-
```
85+
```
86+
87+
## Added v0.0.6
88+
89+
### `forr`
90+
91+
```python
92+
for var in range(end):
93+
pass
94+
```
95+
96+
### `afor`
97+
98+
```python
99+
async for var in aiterables:
100+
pass
101+
```
102+
103+
### `openw`
104+
105+
```python
106+
with open(fpath, mode="r", encoding="utf-8") as handler:
107+
pass
108+
```

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.