Skip to content

Commit c525417

Browse files
committed
Merge branch 'corrections' of https://github.com/JvPy/pandas into corrections
2 parents 4c78a98 + 8bc8025 commit c525417

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pandas/io/html.py

+8
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,11 @@ def _get_skiprows(skiprows):
103103
elif skiprows is None:
104104
return 0
105105
raise TypeError(
106+
<<<<<<< HEAD
106107
f"{repr(type(skiprows).__name__)} is not a valid type for skipping rows"
108+
=======
109+
"%r is not a valid type for skipping rows" % type(skiprows).__name__
110+
>>>>>>> 8bc80250a1760b6ee0fbdd26792d122b7adf8244
107111
)
108112

109113

@@ -133,7 +137,11 @@ def _read(obj):
133137
except (TypeError, ValueError):
134138
pass
135139
else:
140+
<<<<<<< HEAD
136141
raise TypeError(f"Cannot read object of type {repr(type(obj).__name__)}")
142+
=======
143+
raise TypeError("Cannot read object of type %r" % type(obj).__name__)
144+
>>>>>>> 8bc80250a1760b6ee0fbdd26792d122b7adf8244
137145
return text
138146

139147

0 commit comments

Comments
 (0)