Skip to content

Commit cd296a9

Browse files
Merge pull request #68 from nextreleaseio/dw
example changes
2 parents 1d75c0e + a9e250a commit cd296a9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

demo.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,11 @@ def my_method(self):
1414

1515
def more_python(self):
1616
return 1 + 1 + 2
17+
18+
19+
def generator_example(n):
20+
run = 0
21+
while run < 1000:
22+
run = run + 1
23+
yield run
24+

0 commit comments

Comments
 (0)