mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
Clean up formatting.
This commit is contained in:
parent
750a61cf08
commit
96872fa66e
1 changed files with 6 additions and 6 deletions
|
|
@ -42,12 +42,12 @@ int main()
|
|||
|
||||
run_python_string("import testmod");
|
||||
run_python_string("class TestArithmeticScript(object):\n"
|
||||
" def __init__(self):\n"
|
||||
" self.foo=1\n"
|
||||
" self.bar=1.1\n"
|
||||
" self.baz=None\n"
|
||||
" self.qux='1'\n"
|
||||
);
|
||||
" def __init__(self):\n"
|
||||
" self.foo=1\n"
|
||||
" self.bar=1.1\n"
|
||||
" self.baz=None\n"
|
||||
" self.qux='1'\n"
|
||||
);
|
||||
run_python_string("testmod.TestArithmeticScript=TestArithmeticScript");
|
||||
|
||||
PyObject * clss = Get_PyClass(testmod, "testmod", "TestArithmeticScript");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue