Skip to content

Commit 5512020

Browse files
Mottlbashtage
authored andcommitted
Fixed a typo in an exception message (#564)
* Add support for multiple symbols in MOEX datareader * Updated whatsnew for MOEX * Fixed a typo in exception message * Fixed another typo
1 parent cb5bf8d commit 5512020

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas_datareader/moex.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ def url(self):
5757
"""Return a list of API URLs per symbol"""
5858

5959
if not self.__engines or not self.__markets:
60-
raise Exception("Accesing url property accessed before "
61-
"invocation of read() or _get_metadata() methods")
60+
raise Exception("Accessing url property before invocation "
61+
"of read() or _get_metadata() methods")
6262

6363
return [self.__url_data.format(
6464
engine=self.__engines[s],
@@ -169,7 +169,7 @@ def read(self):
169169
return dfs[0]
170170

171171
def _read_url_as_String(self, url, params=None):
172-
""" Open an url (and retry) """
172+
"""Open an url (and retry)"""
173173

174174
response = self._get_response(url, params=params)
175175
text = self._sanitize_response(response)
@@ -182,7 +182,7 @@ def _read_url_as_String(self, url, params=None):
182182
return text
183183

184184
def _read_lines(self, input):
185-
""" Return a pandas DataFrame from input """
185+
"""Return a pandas DataFrame from input"""
186186

187187
rs = pd.read_csv(input, index_col='TRADEDATE', parse_dates=True, sep=';',
188188
na_values=('-', 'null'))

0 commit comments

Comments
 (0)