Skip to content

Commit 400d646

Browse files
authored
[tornado] code snippet fix in documentation (#1047)
1 parent 6ec5a27 commit 400d646

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ddtrace/contrib/tornado/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ def blocking_method(self):
5252
def notify(self):
5353
# do something
5454
55-
If you are overriding the `RequestHandler.on_finish` or `RequestHandler.log_exception`
56-
methods, you will need to call the super method to ensure the tracer's patched
57-
methods are called:
55+
If you are overriding the ``on_finish`` or ``log_exception`` methods on a
56+
``RequestHandler``, you will need to call the super method to ensure the
57+
tracer's patched methods are called::
5858
5959
class MainHandler(tornado.web.RequestHandler):
6060
@tornado.gen.coroutine

0 commit comments

Comments
 (0)