Skip to content

Commit aec7819

Browse files
authored
Merge pull request python-semver#50 from k-bx/49-writeable-docstring-bug
Write docstring on 3.5+
2 parents d3d707a + c83add8 commit aec7819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

semver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def parse(version):
6464

6565
# Only change it for Python > 3 as it is readonly
6666
# for version 2
67-
if sys.version_info > (3, 0):
67+
if sys.version_info >= (3, 5):
6868
VersionInfo.__doc__ = """
6969
:param int major: version when you make incompatible API changes.
7070
:param int minor: version when you add functionality in

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy