Created
June 29, 2021 09:47
-
-
Save noamt/e80c389ee13ffaba72d879412c8cacd4 to your computer and use it in GitHub Desktop.
For the Medium post "Python Power Assertions with Nimoy"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SomeClass: | |
def __init__(self): | |
self.val = {'d': 'e'} | |
def __str__(self): | |
return str(self.val) | |
sc = SomeClass() | |
sc.val['d'] == 'f' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment