+2 votes
in Programming Languages by (75.1k points)
How to declare a minimal class in Python that will do nothing?

1 Answer

+1 vote
by (353k points)
selected by
 
Best answer

pass statement can be used for creating minimal classes:

class AnEmptyClass:
    pass

Related questions


...