Merge pull request #50 from k-bx/49-writeable-docstring-bug
Write docstring on 3.5+
This commit is contained in:
commit
aec7819c8a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user