Skip to content

Commit 96a850b

Browse files
committed
use str instead of string as type
1 parent 21e0007 commit 96a850b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

openml/datasets/dataset.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ class OpenMLDataset(object):
2525
2626
Parameters
2727
----------
28-
name : string
28+
name : str
2929
Name of the dataset
30-
description : string
30+
description : str
3131
Description of the dataset
3232
FIXME : which of these do we actually nee?
3333
"""
@@ -133,7 +133,7 @@ def push_tag(self, tag):
133133
134134
Parameters
135135
----------
136-
tag : string
136+
tag : str
137137
Tag to attach to the dataset.
138138
"""
139139
data = {'data_id': self.dataset_id, 'tag': tag}
@@ -144,7 +144,7 @@ def remove_tag(self, tag):
144144
145145
Parameters
146146
----------
147-
tag : string
147+
tag : str
148148
Tag to attach to the dataset.
149149
"""
150150
data = {'data_id': self.dataset_id, 'tag': tag}
@@ -417,7 +417,7 @@ def _to_xml(self):
417417
418418
Returns
419419
-------
420-
xml_dataset : string
420+
xml_dataset : str
421421
XML description of the data.
422422
"""
423423
xml_dataset = ('<oml:data_set_description '

0 commit comments

Comments
 (0)