Missing a semicolon in the function definition
authorsilkuze <github@justinas.me>
Sat, 8 Sep 2012 12:23:39 +0000 (15:23 +0300)
committersilkuze <github@justinas.me>
Sat, 8 Sep 2012 12:23:39 +0000 (15:23 +0300)
docs/writing/structure.rst

index 3ac9cab..35dd432 100644 (file)
@@ -347,7 +347,7 @@ Some guidelines help to avoid this issue:
 
     count = 1
     msg = 'a string'
-    def func()
+    def func():
         pass  # Do something
 
 Using short functions or methods helps reduce the risk