Merge pull request #50 from k-bx/49-writeable-docstring-bug

Write docstring on 3.5+
This commit is contained in:
Kostiantyn Rybnikov 2017-02-28 18:10:26 +02:00 committed by GitHub
commit aec7819c8a

View File

@ -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