Skip to content

Instantly share code, notes, and snippets.

@milesrout
Created March 21, 2018 05:05
Show Gist options
  • Save milesrout/65ec433c4f0cc98d42047dc8be8e8159 to your computer and use it in GitHub Desktop.
Save milesrout/65ec433c4f0cc98d42047dc8be8e8159 to your computer and use it in GitHub Desktop.
28 base_linked_control_structures = {
29 'if': {
30 'if': [[None]],
31 'elif': [[None]],
32 'else': []
33 },
34 'while': {
35 'while': [[None]],
36 'else': [],
37 },
38 'for': {
39 'for': [[None, 'in', None]],
40 'else': [],
41 },
42 'try': {
43 'try': [[None]],
44 'except': [[], [None], ['as', None]],
45 'else': [],
46 'finally': [],
47 },
48 'with': {
49 'with': [[], [None], ['as', None]],
50 }
51 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment