Skip to content

Instantly share code, notes, and snippets.

@jacob414
Created January 10, 2019 13:10
Show Gist options
  • Save jacob414/bfc61708676aa5417b54d3ad19cd1863 to your computer and use it in GitHub Desktop.
Save jacob414/bfc61708676aa5417b54d3ad19cd1863 to your computer and use it in GitHub Desktop.
class _lm(object):
def __init__(self, msg):
self.msg = msg
def __str__(self):
return self.msg()
assert 1 == 1, _lm(lambda: 'lazy 1')
assert 1 == 2, _lm(lambda: 'lazy 2')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment