Skip to content

Commit 1c8fc74

Browse files
committed
Remove _to_dict() function
1 parent 4482f8c commit 1c8fc74

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

semver.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -593,14 +593,6 @@ def isvalid(cls, version):
593593
return False
594594

595595

596-
def _to_dict(obj):
597-
if isinstance(obj, VersionInfo):
598-
return obj.to_dict()
599-
elif isinstance(obj, tuple):
600-
return VersionInfo(*obj).to_dict()
601-
return obj
602-
603-
604596
@deprecated(replace="semver.VersionInfo.parse", version="2.10.0")
605597
def parse_version_info(version):
606598
"""

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