title: Python: are there ways to detect missing () in method call?
body: <p>I want to call a method <code>f()</code>, but accidentally I just say <code>f</code>. Python3 mistakes this for a meaningless evaluation of a nonexisting variable, and therefore skips over my intended method call without any notice. Is there a way to override this default behavior and to get an error message? Either by forbidding dual use of an identifier as a method and as a variable, or by forbidding a meaningless statement consisting just of an identifier?</p>