summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2014-12-10 13:43:34 +0000
committerMatthew Hodgson <matthew@matrix.org>2014-12-10 13:43:34 +0000
commit8ffbb52eeea4827220fc851189d95ebed824285a (patch)
tree99e09b2a21b3f18becca978f5c99673b48e5676f /docs
parentupdate codestyle based on debate on #matrix-dev (diff)
downloadsynapse-8ffbb52eeea4827220fc851189d95ebed824285a.tar.xz
oops
Diffstat (limited to 'docs')
-rw-r--r--docs/code_style.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/code_style.rst b/docs/code_style.rst
index 6e53f3eb09..dc40a7ab7b 100644
--- a/docs/code_style.rst
+++ b/docs/code_style.rst
@@ -22,17 +22,17 @@ Basically, PEP8
   depending on the size and shape of the arguments and what makes more sense to
   the author. In other words, both this::
 
-    print("I am a fish %s", "moo")
+    print("I am a fish %s" % "moo")
 
   and this::
 
-    print("I am a fish %s",
+    print("I am a fish %s" %
           "moo")
 
   and this::
 
     print(
-        "I am a fish %s",
+        "I am a fish %s" %
         "moo"
     )