Skip to content

Commit 048beba

Browse files
committed
Fixed accidental typo in code
1 parent 017d4eb commit 048beba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/io/parsers/python_parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ def _next_line(self) -> list[Scalar]:
940940
break
941941

942942
# This was the first line of the file,
943-
# which could contain the BOM at theo
943+
# which could contain the BOM at the
944944
# beginning of it.
945945
if self.pos == 1:
946946
line = self._check_for_bom(line)
@@ -1508,7 +1508,7 @@ def __init__(self, f: ReadCsvBuffer[str], **kwds) -> None:
15081508
self.infer_nrows = kwds.pop("infer_nrows")
15091509
PythonParser.__init__(self, f, **kwds)
15101510

1511-
def _emake_rader(self, f: IO[str] | ReadCsvBuffer[str]) -> FixedWidthReader:
1511+
def _make_reader(self, f: IO[str] | ReadCsvBuffer[str]) -> FixedWidthReader:
15121512
return FixedWidthReader(
15131513
f,
15141514
self.colspecs,

0 commit comments

Comments
 (0)