Skip to content

Commit bab4f5f

Browse files
committed
Restore type annotation back to one, instead of default value
1 parent 0bde698 commit bab4f5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shapefile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,7 @@ def records(self, fields: Optional[list[str]] = None) -> list[_Record]:
18561856

18571857
def iterRecords(
18581858
self,
1859-
fields=Optional[list[str]],
1859+
fields: Optional[list[str]] = None,
18601860
start: int = 0,
18611861
stop: Optional[int] = None,
18621862
) -> Iterator[Optional[_Record]]:

0 commit comments

Comments
 (0)