Skip to content

Commit 14d94a0

Browse files
committed
changed the pandas util clipboard file to return unicode if the python version is 2, else str
1 parent 66d8ebf commit 14d94a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/util/clipboard.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def _copyGtk(text):
138138

139139

140140
def _pasteQt():
141-
return str(cb.text())
141+
return text_type(cb.text())
142142

143143

144144
def _copyQt(text):

0 commit comments

Comments
 (0)