Write docstring on 3.5+
This commit is contained in:
parent
d3d707a502
commit
c83add849e
@ -64,7 +64,7 @@ VersionInfo = collections.namedtuple(
|
|||||||
|
|
||||||
# Only change it for Python > 3 as it is readonly
|
# Only change it for Python > 3 as it is readonly
|
||||||
# for version 2
|
# for version 2
|
||||||
if sys.version_info > (3, 0):
|
if sys.version_info >= (3, 5):
|
||||||
VersionInfo.__doc__ = """
|
VersionInfo.__doc__ = """
|
||||||
:param int major: version when you make incompatible API changes.
|
:param int major: version when you make incompatible API changes.
|
||||||
:param int minor: version when you add functionality in
|
:param int minor: version when you add functionality in
|
||||||
|
Loading…
Reference in New Issue
Block a user