Skip to content

Commit 49ecabf

Browse files
author
Mathieu
committed
shotgun: update docstring
1 parent 85164a1 commit 49ecabf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

shotgun_api3/shotgun.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2650,8 +2650,7 @@ def download_attachment(self, attachment=False, file_path=None, attachment_id=No
26502650
This parameter exists only for backwards compatibility for scripts specifying
26512651
the parameter with keywords.
26522652
:returns: If ``file_path`` is provided, returns the path to the file on disk. If
2653-
``file_path`` is ``None``, returns the actual data of the file, as str in Python 2 or
2654-
bytes in Python 3.
2653+
``file_path`` is ``None``, returns the actual data of the file, as bytes in Python 3.
26552654
:rtype: str | bytes
26562655
"""
26572656
# backwards compatibility when passed via keyword argument

0 commit comments

Comments
 (0)