Guest User

show dynamic language catching more errors

a guest
Nov 11th, 2015
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1.  
  2. class SomeClass(object):
  3.   def __init__(self):
  4.     self.foobar = 123
  5.  
  6.   def foo(self):
  7.     if self.fooBar < 100:
  8.        return "it's low"
  9.  
  10. s = SomeClass()
  11. s.foo()
Advertisement
Add Comment
Please, Sign In to add comment