Skip to content

Instantly share code, notes, and snippets.

@acuros
Created September 17, 2013 13:13
Show Gist options
  • Save acuros/6594143 to your computer and use it in GitHub Desktop.
Save acuros/6594143 to your computer and use it in GitHub Desktop.
class A(object):
def __init__(self, raw):
something = self._make_something(raw)
if not _is_valid_something(something):
raise
def _make_something(self, raw):
pass
return something
def _is_valid_something(self, something):
pass
return True or False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment