summaryrefslogtreecommitdiff
path: root/releases
diff options
context:
space:
mode:
authorÜlgen Sarıkavak <ulgensrkvk@gmail.com>2025-10-12 01:17:36 +0300
committerBaptiste Mispelon <bmispelon@gmail.com>2025-10-14 20:39:06 +0200
commit0f28e7f0e2144dcd49dfbe5f8b5c7e12b19c2f83 (patch)
treee414f5c77c5c550c94cee0d37d86b52acf7f46b1 /releases
parenta7b5b24d524ac081ce052cb7f013e67f9aa0ab49 (diff)
Update single quoted dosctrings to triple quotes
This is recommend by PEP257 for both single and multi line docstrings, and detected as a warning by Pycharm's code inspection - https://peps.python.org/pep-0257/#one-line-docstrings - https://peps.python.org/pep-0257/#multi-line-docstrings
Diffstat (limited to 'releases')
-rw-r--r--releases/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/releases/models.py b/releases/models.py
index 1728caf4..ac9bf577 100644
--- a/releases/models.py
+++ b/releases/models.py
@@ -20,7 +20,7 @@ from .utils import get_loose_version_tuple
# about older release candidates. Safe to use Django's copy of get_version()
# when upgrading this website to use Django 1.10.
def get_version(version=None):
- "Return a PEP 386-compliant version number from VERSION."
+ """Return a PEP 386-compliant version number from VERSION."""
version = get_complete_version(version)
# Now build the two parts of the version number: