Skip to content

Commit 95011da

Browse files
authored
fix: Add reference to NoneType in the astx scope (#280)
1 parent 9a9ce00 commit 95011da

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

libs/astx/src/astx/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@
173173
Integer,
174174
ListType,
175175
NandOp,
176+
NoneType,
176177
NorOp,
177178
NotOp,
178179
Number,
@@ -322,6 +323,7 @@ def get_version() -> str:
322323
"MutabilityKind",
323324
"NamedExpr",
324325
"NandOp",
326+
"NoneType",
325327
"NorOp",
326328
"NotOp",
327329
"Number",

libs/astx/src/astx/types/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ class AnyType(DataType):
1818

1919
@public
2020
@typechecked
21-
class NoneType(DataType):
21+
class NoneType(AnyType):
2222
"""NoneType data type expression."""

0 commit comments

Comments
 (0)