Skip to content

Instantly share code, notes, and snippets.

@makmanalp
Created June 6, 2016 01:05
Show Gist options
  • Save makmanalp/9dee0df7bc44a7f32cf627764a986338 to your computer and use it in GitHub Desktop.
Save makmanalp/9dee0df7bc44a7f32cf627764a986338 to your computer and use it in GitHub Desktop.
Code in the body of a class - 4
In [7]: class Qux(object):
...: raise ValueError
...:
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-7-8d9958c73a44> in <module>()
----> 1 class Qux(object):
2 raise ValueError
3
<ipython-input-7-8d9958c73a44> in Qux()
1 class Qux(object):
----> 2 raise ValueError
3
ValueError:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment