Skip to content

Commit 98280b5

Browse files
authored
Add Position to the nodes.__init__ (#1408)
1 parent a5bd030 commit 98280b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

astroid/nodes/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
function_to_method,
122122
get_wrapping_class,
123123
)
124+
from astroid.nodes.utils import Position
124125

125126
_BaseContainer = BaseContainer # TODO Remove for astroid 3.0
126127

@@ -288,6 +289,7 @@
288289
"NodeNG",
289290
"Nonlocal",
290291
"Pass",
292+
"Position",
291293
"Raise",
292294
"Return",
293295
"Set",

0 commit comments

Comments
 (0)