diff options
author | Mats Wichmann <mats@linux.com> | 2024-04-11 22:29:30 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2024-04-11 22:29:30 (GMT) |
commit | 65dec462ef2ff7b0d923cd66d3dc7ead1792345b (patch) | |
tree | dc2fde92970ff5db3cd7a222120127bee2efb8f5 /SCons/Script/SConscript.py | |
parent | 8c85b35cb6c81045a9ab229228beec832bc2ae20 (diff) | |
download | SCons-65dec462ef2ff7b0d923cd66d3dc7ead1792345b.zip SCons-65dec462ef2ff7b0d923cd66d3dc7ead1792345b.tar.gz SCons-65dec462ef2ff7b0d923cd66d3dc7ead1792345b.tar.bz2 |
Allow printing a Variables object
The Variables object has been somewhat opague - kind of hard to tell
what you got. This adds as __str__ method which produces a formatted
string showing the contents of the object, so debugging can do:
var = Variables()
... bunch of setup stuff
print(var)
and get a reasonably readable representation.
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons/Script/SConscript.py')
0 files changed, 0 insertions, 0 deletions