Here is a snippet of code from django.core.exceptions:
class MiddlewareNotUsed(Exception):
"This middleware is not used in this server configuration"
pass
Is the bare string in the body of the class a mere literal for documentation ? Or does it perform some magic ?
It’s a doc string: