From c83add849e5661d18f2313acd3253dba83ac21b2 Mon Sep 17 00:00:00 2001 From: Kostiantyn Rybnikov Date: Tue, 28 Feb 2017 18:03:10 +0200 Subject: [PATCH] Write docstring on 3.5+ --- semver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/semver.py b/semver.py index c804479..eea5491 100644 --- a/semver.py +++ b/semver.py @@ -64,7 +64,7 @@ VersionInfo = collections.namedtuple( # Only change it for Python > 3 as it is readonly # for version 2 -if sys.version_info > (3, 0): +if sys.version_info >= (3, 5): VersionInfo.__doc__ = """ :param int major: version when you make incompatible API changes. :param int minor: version when you add functionality in