Jelajahi Sumber

Fix occurences of "e.g"/"i.e" -> "e.g."/"i.e."

Ask Solem 16 tahun lalu
induk
melakukan
bd3149fe48
2 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 1 1
      celery/conf.py
  2. 2 2
      celery/task.py

+ 1 - 1
celery/conf.py

@@ -117,7 +117,7 @@ AMQP_EXCHANGE = getattr(settings, "CELERY_AMQP_EXCHANGE",
 
 The type of exchange. If the exchange type is ``direct``, all messages
 receives all tasks. However, if the exchange type is ``topic``, you can
-route e.g some tasks to one server, and others to the rest.
+route e.g. some tasks to one server, and others to the rest.
 See `Exchange types and the effect of bindings`_.
 
 .. _`Exchange types and the effect of bindings:

+ 2 - 2
celery/task.py

@@ -218,7 +218,7 @@ class Task(object):
         :rtype: :class:`celery.messaging.TaskPublisher`.
 
         Please be sure to close the AMQP connection when you're done
-        with this object, i.e:
+        with this object, i.e.:
 
             >>> publisher = self.get_publisher()
             >>> # do something with publisher
@@ -233,7 +233,7 @@ class Task(object):
         :rtype: :class:`celery.messaging.TaskConsumer`.
 
         Please be sure to close the AMQP connection when you're done
-        with this object. i.e:
+        with this object. i.e.:
 
             >>> consumer = self.get_consumer()
             >>> # do something with consumer