Skip to content

Commit 3ee4b09

Browse files
committed
fixup: Change python 3.9 and 3.10 usage to be 3.8
1 parent 89c90a8 commit 3ee4b09

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

lldb/packages/Python/lldbsuite/test/gdbclientutils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import socket
77
import traceback
88
from lldbsuite.support import seven
9-
from typing import Optional
9+
from typing import Optional, List, Tuple
1010

1111

1212
def checksum(message):
@@ -89,7 +89,7 @@ class MockGDBServerResponder:
8989
"""
9090

9191
registerCount: int = 40
92-
packetLog: Optional[list[str]] = None
92+
packetLog: Optional[List[str]] = None
9393

9494
class RESPONSE_DISCONNECT:
9595
pass
@@ -311,7 +311,7 @@ def haltReason(self):
311311

312312
def qXferRead(
313313
self, obj: str, annex: str, offset: int, length: int
314-
) -> tuple[str | None, bool]:
314+
) -> Tuple[Optional[str], bool]:
315315
return None, False
316316

317317
def _qXferResponse(self, data, has_more):

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ extend-exclude = '''
44
third-party/
55
)
66
'''
7+
8+
[tool.pyright]
9+
pythonVersion = "3.8"

0 commit comments

Comments
 (0)