Got rid of foo

This commit is contained in:
Alan Saul 2013-03-11 18:14:23 +00:00
parent 387ee97d73
commit 2a1b5f94c8
2 changed files with 1 additions and 2 deletions

View file

@ -46,7 +46,7 @@ def test_models():
print "MODULE", module_examples
print "Before"
print inspect.getmembers(module_examples, predicate=inspect.isfunction)
functions = [ func for func in inspect.getmembers(module_examples, predicate=inspect.isfunction) if func[0].startswith('_') is False ]
functions = [ func for func in inspect.getmembers(module_examples, predicate=inspect.isfunction) if func[0].startswith('_') is False ][::-1]
print "After"
print functions
for example in functions: