From 63e83a77034f923b93c53569fd0bbf7e29ef333c Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 23 Dec 2023 00:16:24 -0500 Subject: [PATCH] misc: changed two docstrings' formatting --- pyzipline/zipline.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyzipline/zipline.py b/pyzipline/zipline.py index 1834dc8..47afd32 100644 --- a/pyzipline/zipline.py +++ b/pyzipline/zipline.py @@ -408,7 +408,8 @@ class ZiplineApi: ValueError: Raised if amount is less than 1 Returns: - Stats: Statistics about the Zipline instance""" + Stats: Statistics about the Zipline instance + """ if amount < 1: raise ValueError('amount must be greater than 0') if force_update: @@ -440,7 +441,8 @@ class ZiplineApi: PyZiplineError: Raised if the API changes, causing a breaking change in this method Returns: - Version: The version of the Zipline instance""" + Version: The version of the Zipline instance + """ result = self._rest_adapter.get(endpoint="version") if result.status_code == 200: return Version(**result.data)