Explorar el Código

Abstract classes: args and kwargs parameters' asterisks had slashes ahead of them, but those slashes render in the generated HTML output. These should be fine without slashes?

Stephen Weber hace 13 años
padre
commit
00349dc21c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docs/userguide/tasks.rst

+ 1 - 1
docs/userguide/tasks.rst

@@ -791,7 +791,7 @@ base class for new task types.
     class DebugTask(Task):
         abstract = True
 
-        def after_return(self, \*args, \*\*kwargs):
+        def after_return(self, *args, **kwargs):
             print("Task returned: %r" % (self.request, ))