All the Python 3 documentation I’ve read does not include parens on class definitions, although Python 2 used to include
class Foo(object) and both require parens on derived classes for obvious reasons.
We must include at least
pass for the syntax to be complete at this stage. Just a signature line is not enough and will raise a syntax error. The Shell will not let us return to the command prompt if we haven’t added the
Bottom line, until someone pipes in with better information, it doesn’t seem to make any difference. The convention is to not use them, so that would be the preferable option, as I see it.