Skip to content

Commit e3cefee

Browse files
committed
Rename filepath_or_stream to filepath_or_buffer
1 parent b622a3f commit e3cefee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/io/excel/_odfreader.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ class _ODFReader(object):
77
88
Parameters
99
----------
10-
filepath_or_stream: string, path to be parsed or
10+
filepath_or_buffer: string, path to be parsed or
1111
an open readable stream.
1212
"""
13-
def __init__(self, filepath_or_stream):
13+
def __init__(self, filepath_or_buffer):
1414
try:
1515
from odf.opendocument import load as document_load
1616
from odf.table import Table
1717
except ImportError:
1818
raise ImportError("Install odfpy for OpenDocument support")
1919

20-
self.filepath_or_stream = filepath_or_stream
21-
self.document = document_load(filepath_or_stream)
20+
self.filepath_or_buffer = filepath_or_buffer
21+
self.document = document_load(filepath_or_buffer)
2222
self.tables = self.document.getElementsByType(Table)
2323

2424
@property

0 commit comments

Comments
 (0)