Hi,

I want to define a function without anything in it body. In C++, I can
do something like the following because I can use "{}" to denote an
empty function body. Since python use indentation, I am not sure how
to do it. Can somebody let me know how to do it in python?

void f() {
}

Regards,
Peng
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to