Skip to content

Commit 1b009f5

Browse files
committed
Make work with python 3.9
Signed-off-by: Mike Stitt <[email protected]>
1 parent 0cf4834 commit 1b009f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subprojects/robotpy-wpilib/wpilib/timedrobotpy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def add(self, item: Any) -> None:
8686
def pop(self) -> Any:
8787
return heappop(self._data)
8888

89-
def peek(self) -> Any | None:
89+
def peek(self) -> Any: # todo change to Any | None when we don't build with python 3.9
9090
if self._data:
9191
return self._data[0]
9292
else:

0 commit comments

Comments
 (0)