Skip to content

v0.5.7

Compare
Choose a tag to compare
@ionite34 ionite34 released this 02 Feb 03:15
· 147 commits to main since this release
932462e

Added

  • Supports supplying multiple string attributes in TypeView.__setattr__ to set all given names to the same value
from einspect import view

view(str)["foo", "bar"] = lambda x: x * 2

print("abc".foo())
# abcabc
print("abc".bar())
# abcabc

Full Changelog: v0.5.6...v0.5.7