autopep8 cleanup of Examples/test-suite/python
automated cleanup of python pep8 whitespace compliance
This commit is contained in:
parent
9086eb351c
commit
b77f3afafb
202 changed files with 3477 additions and 3382 deletions
|
|
@ -1,18 +1,19 @@
|
|||
import director_property
|
||||
|
||||
class PyFoo(director_property.Foo):
|
||||
a = property(director_property.Foo.getA, director_property.Foo.setA)
|
||||
|
||||
def ping(self):
|
||||
return "PyFoo::ping()"
|
||||
class PyFoo(director_property.Foo):
|
||||
a = property(director_property.Foo.getA, director_property.Foo.setA)
|
||||
|
||||
def ping(self):
|
||||
return "PyFoo::ping()"
|
||||
|
||||
|
||||
foo = PyFoo()
|
||||
|
||||
foo.setA("BLABLA")
|
||||
if foo.getA() != "BLABLA":
|
||||
raise RuntimeError
|
||||
raise RuntimeError
|
||||
|
||||
foo.a = "BIBI"
|
||||
if foo.a != "BIBI":
|
||||
raise RuntimeError
|
||||
raise RuntimeError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue