Skip to content

Commit c2e3fac

Browse files
committed
Fix type annotation
1 parent c6e513c commit c2e3fac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bpython/test/test_inspection.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import os
33
import sys
44
import unittest
5+
from typing import List
56

67
from bpython import inspection
78
from bpython.test.fodder import encoding_ascii
@@ -158,7 +159,7 @@ def fun(number, lst=[]):
158159
"""
159160
return lst + [number]
160161

161-
def fun_annotations(number: int, lst: list[int] = []) -> list[int]:
162+
def fun_annotations(number: int, lst: List[int] = []) -> List[int]:
162163
"""
163164
Return a list of numbers
164165

0 commit comments

Comments
 (0)