Skip to content

Commit 37ca572

Browse files
committed
Tolerate 3.10 for now
1 parent 516280e commit 37ca572

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mathics/builtin/binary/bytearray.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
ByteArrays
44
"""
55

6-
from typing import Optional, Union
6+
from typing import Optional
77

88
from mathics.core.atoms import ByteArrayAtom, Integer, String
99
from mathics.core.builtin import Builtin
@@ -57,7 +57,7 @@ class ByteArray_(Builtin):
5757
name = "ByteArray"
5858
summary_text = "array of bytes"
5959

60-
def eval_str(self, string, evaluation) -> Union[ByteArrayAtom, SymbolFailed]:
60+
def eval_str(self, string, evaluation):
6161
"ByteArray[string_String]"
6262
try:
6363
atom = ByteArrayAtom(string.value)

0 commit comments

Comments
 (0)