Skip to content

Commit 7e7b800

Browse files
committed
RF: builtin xml.parsers module likes bytes
1 parent cf742ee commit 7e7b800

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nibabel/xmlutils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ def parse(self, string=None, fname=None, fptr=None):
8181
"""
8282
Parameters
8383
----------
84-
string : str
85-
string containing xml document
84+
string : bytes
85+
string (as a bytes object) containing xml document
8686
8787
fname : str
8888
file name of an xml document.

0 commit comments

Comments
 (0)