Browse Source

Remove notes about only supporting kwargs, since we support args as well now.

Ask Solem 16 years ago
parent
commit
7df5362fcb
2 changed files with 2 additions and 4 deletions
  1. 0 2
      README.rst
  2. 2 2
      celery/task.py

+ 0 - 2
README.rst

@@ -59,8 +59,6 @@ Defining tasks
     ...     logger.info("Did something: %s" % some_arg)
     >>> task.register(do_something, "do_something") 
 
-*Note* Task functions only supports keyword arguments.
-
 Tell the celery daemon to run a task
 -------------------------------------
 

+ 2 - 2
celery/task.py

@@ -80,8 +80,8 @@ class Task(object):
     All subclasses of ``Task`` has to define the ``name`` attribute, which is
     the name of the task that can be passed to ``celery.task.delay_task``,
     it also has to define the ``run`` method, which is the actual method the
-    ``celery`` daemon executes. This method does not support positional
-    arguments, only keyword arguments.
+    ``celery`` daemon executes.
+    
 
     Examples
     --------