Permalink
Browse files

Typo in docs.

  • Loading branch information...
1 parent f81b327 commit ff0839849c2a08dc516f8be801fd225c8d362f0b James Socol committed Apr 10, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 docs/timing.rst
View
8 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

0 comments on commit ff08398

Please sign in to comment.