add define __str__ method (#4576)

Co-authored-by: Your Name <you@example.com>
This commit is contained in:
Fabian
2023-03-19 18:55:12 +00:00
committed by GitHub
co-authored by Your Name
parent 48ada2eebb
commit 7196fb8e82
+3
View File
@@ -409,6 +409,9 @@ class Define:
return self.as_tuple == other.as_tuple
return NotImplemented
def __str__(self):
return f"{self.name}={self.value}"
class Library:
def __init__(self, name, version, repository=None):