We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7073c3 commit 0c43e4eCopy full SHA for 0c43e4e
setup.py
@@ -40,7 +40,7 @@ def to_funcs(*paths):
40
if __name__ == "__main__":
41
with open(path.join(package_name, "__init__.py")) as f:
42
__author__, __version__ = map(
43
- lambda const: const.value if version_info > (3, 6) else const.s,
+ lambda const: const.value if hasattr(const, "value") else const.s,
44
map(
45
attrgetter("value"),
46
0 commit comments