Skip to content

Commit

Permalink
[typedef] fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
autumnjolitz committed Feb 29, 2024
1 parent 46552e0 commit 1c33b63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CURRENT_VERSION.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# bump the below version on release
0.7.5
0.7.5.post2

Check failure on line 2 in CURRENT_VERSION.txt

View workflow job for this annotation

GitHub Actions / pypi-publish

Version mismatch

Expected 0.7.5post2 but got 0.7.5.post2 instead.
2 changes: 1 addition & 1 deletion instruct/typedef.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ def is_typing_definition(item):
origin = get_origin(item)
if origin is not None:
return is_typing_definition(origin)
if LOWER_THAN_310:
if not LOWER_THAN_310:
if isinstance(item, (types.UnionType,)):
return True
return False
Expand Down

0 comments on commit 1c33b63

Please sign in to comment.