Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Clean up Sphinx refs.

  • Loading branch information...
commit 3faba222791dea3f5dcc0b335ae1550064f88575 1 parent bec939f
James Socol authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 docs/timing.rst
  2. +2 −2 docs/types.rst
View
4 docs/timing.rst
@@ -13,7 +13,7 @@ Calling ``timing`` manually
===========================
The simplest way to use a timer is to record the time yourself and send it
-manually, using the :ref:``timing`` method::
+manually, using the :ref:`timing` method::
import time
from statsd import StatsClient
@@ -31,7 +31,7 @@ manually, using the :ref:``timing`` method::
Using a context manager
=======================
-Each ``StatsClient`` instance contains a :ref:``timer`` attribute that can be
+Each ``StatsClient`` instance contains a :ref:`timer` attribute that can be
used as a context manager or a decorator. When used as a context manager, it
will automatically report the time taken for the inner block::
View
4 docs/types.rst
@@ -26,7 +26,7 @@ number of events per second during a one-minute period.
The statsd server collects counters under the ``stats`` prefix.
-Counters are managed with the :ref:``incr`` and :ref:``decr`` methods of
+Counters are managed with the :ref:`incr` and :ref:`decr` methods of
``StatsClient``::
from statsd import StatsClient
@@ -117,7 +117,7 @@ track how many active WebSocket connections you have.
The statsd server collects gauges under the ``stats.gauges`` prefix.
-The :ref:``gauge`` method also support the ``rate`` parameter to sample data
+The :ref:`gauge` method also support the ``rate`` parameter to sample data
back to the statsd server, but use it with care, especially with gauges that
may not be updated very often.

0 comments on commit 3faba22

Please sign in to comment.
Something went wrong with that request. Please try again.