1. Jakub Wilk
  2. ocrodjvu

Commits

Jakub Wilk  committed 56a0f66

utils: reword docstring for not_overridden().

  • Participants
  • Parent commits f22e381
  • Branches default

Comments (0)

Files changed (1)

File lib/utils.py

View file
 
 def not_overridden(f):
     '''
-    Raise warning (NotOverriddenWarning) if the decorated method was not
-    overridden in a subclass, or called directly.
+    Issue NotOverriddenWarning if the decorated method was not overridden in a
+    subclass, or called directly.
     '''
     @functools.wraps(f)
     def new_f(self, *args, **kwargs):