Skip to content

Commit

Permalink
fix: TypeAlias definition on older Python
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Nov 28, 2024
1 parent 951dce7 commit 9ce96a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysr/expression_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
try:
from typing import TypeAlias
except ImportError:
TypeAlias = Any
TypeAlias = NewType("TypeAlias", Any)

import numpy as np
import pandas as pd
Expand Down

0 comments on commit 9ce96a7

Please sign in to comment.