summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJames Socol <james@mozilla.com>2012-04-10 13:44:45 -0400
committerJames Socol <james@mozilla.com>2012-04-10 13:44:45 -0400
commitff0839849c2a08dc516f8be801fd225c8d362f0b (patch)
tree8cdeff87ea19e77b699d6b56f8e2d48eeb4c2773 /docs
parentf81b327e2af463421c751b69ab49984079b320e4 (diff)
downloadpystatsd-ff0839849c2a08dc516f8be801fd225c8d362f0b.tar.gz
Typo in docs.
Diffstat (limited to 'docs')
-rw-r--r--docs/timing.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/timing.rst b/docs/timing.rst
index 5f759ed..5dddb71 100644
--- a/docs/timing.rst
+++ b/docs/timing.rst
@@ -4,9 +4,9 @@
Using Timers
============
-:ref:`Timers <timers>` are an incredibly powerful tool for tracking application
-performance. Statsd provides a number of ways to use them to instrument your
-code.
+:ref:`Timers <timer-type>` are an incredibly powerful tool for tracking
+application performance. Statsd provides a number of ways to use them to
+instrument your code.
Calling ``timing`` manually
@@ -39,7 +39,7 @@ will automatically report the time taken for the inner block::
statsd = StatsClient()
- with stats.timer('foo'):
+ with statsd.timer('foo'):
# This block will be timed.
for i in xrange(0, 100000):
i ** 2