Skip to content

Commit a023638

Browse files
author
Yury Selivanov
committed
Add tests for global & nonlocal
1 parent 97ad1a4 commit a023638

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

test/statements/global1.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
global a, b, c
2+
3+
4+
5+
global : source.python, storage.modifier.declaration.python
6+
a, b, c : source.python

test/statements/nonlocal1.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
nonlocal a, b, c
2+
3+
4+
5+
nonlocal : source.python, storage.modifier.declaration.python
6+
a, b, c : source.python

0 commit comments

Comments
 (0)