Skip to content

Commit

Permalink
Use a wording a bit closer to English (celery#3842)
Browse files Browse the repository at this point in the history
The sentence to explain the first code sample is a bit bumpy. This change should make it a bit easier to digest, hopefully.
  • Loading branch information
bittner authored and Omer Katz committed Mar 2, 2017
1 parent c015bfd commit faaa949
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/getting-started/first-steps-with-celery.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ Let's create the file :file:`tasks.py`:
def add(x, y):
return x + y
The first argument to :class:`~celery.app.Celery` is the name of the current module,
this only needed so names can be automatically generated when the tasks are
defined in the `__main__` module.
The first argument to :class:`~celery.app.Celery` is the name of the current module.
This is only needed to allow names to be generated automatically when the tasks are
defined in the ``__main__`` module.

The second argument is the broker keyword argument, specifying the URL of the
message broker you want to use. Here using RabbitMQ (also the default option).
Expand Down

0 comments on commit faaa949

Please sign in to comment.