diff --git a/pyDataverse/api.py b/pyDataverse/api.py index 2bd25dc..4878aac 100644 --- a/pyDataverse/api.py +++ b/pyDataverse/api.py @@ -1894,14 +1894,14 @@ def replace_datafile(self, identifier, filename, json_str, is_filepid=True): Parameters ---------- identifier : str - Identifier of the dataset. + Identifier of the file to be replaced. filename : str Full filename with path. json_str : str Metadata as JSON string. is_filepid : bool - ``True`` to use persistent identifier for datafile. ``False``, if - not. + ``True`` if ``identifier`` is a persistent identifier for the datafile. + ``False``, if not. Returns -------