Skip to content

Commit

Permalink
docs: Fix indentation in code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jan 18, 2022
1 parent bd1e1d8 commit a11b1b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions yapw/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
def myfunction(decode, callback, state, channel, method, properties, body):
def errback():
# do something, like halting the process or nack'ing the message
def errback():
# do something, like halting the process or nack'ing the message
decorate(decode, callback, state, channel, method, properties, body, errback)
decorate(decode, callback, state, channel, method, properties, body, errback)
User-defined decorators should avoid doing work outside the ``finally`` branch. Do work in the callback.
"""
Expand Down

0 comments on commit a11b1b5

Please sign in to comment.