[stem/master] Style correction for event listing tutorial

commit 539cd19919a3f5fe0e5ab39259441f736c1a8579 Author: Damian Johnson <atagar@torproject.org> Date: Sun Jul 28 13:34:23 2013 -0700 Style correction for event listing tutorial Oops, minor PEP8 correction for one of our tutorial examples. Not sure why I did camel case for this function... --- docs/tutorials/tortoise_and_the_hare.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tutorials/tortoise_and_the_hare.rst b/docs/tutorials/tortoise_and_the_hare.rst index a791103..d313b62 100644 --- a/docs/tutorials/tortoise_and_the_hare.rst +++ b/docs/tutorials/tortoise_and_the_hare.rst @@ -60,15 +60,15 @@ uploaded. controller.authenticate() try: - # This makes curses initialize and call drawBandwidthGraph() with a + # This makes curses initialize and call draw_bandwidth_graph() with a # reference to the screen, followed by additional arguments (in this # case just the controller). - curses.wrapper(drawBandwidthGraph, controller) + curses.wrapper(draw_bandwidth_graph, controller) except KeyboardInterrupt: pass # the user hit ctrl+c - def drawBandwidthGraph(stdscr, controller): + def draw_bandwidth_graph(stdscr, controller): window = Window(stdscr) # (downloaded, uploaded) tuples for the last 40 seconds
participants (1)
-
atagar@torproject.org