Skip to content

Instantly share code, notes, and snippets.

@frutik
Created February 18, 2013 11:43
Show Gist options
  • Save frutik/4976793 to your computer and use it in GitHub Desktop.
Save frutik/4976793 to your computer and use it in GitHub Desktop.
>> class Foo(object): ... def isShit(self): ... return True ... >>> foo = Foo() >>> print '..' if foo.isShit() else '.' ..
>> class Foo(object):
... def isShit(self):
... return True
...
>>> foo = Foo()
>>> print '..' if foo.isShit() else '.'
..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment