about summary refs log tree commit diff
path: root/src/etc/lldb_batchmode.py
diff options
context:
space:
mode:
authorEitan Adler <lists@eitanadler.com>2016-09-17 23:05:20 -0700
committerEitan Adler <lists@eitanadler.com>2016-09-17 23:05:20 -0700
commit266ef889e3a58a4c9fc10456ec6f23053f7e8717 (patch)
tree4330640f3959b03d66d617d94aed25236f15829b /src/etc/lldb_batchmode.py
parentf7811c1ca6fc8208667cea7f1f39d7a75588717c (diff)
downloadrust-266ef889e3a58a4c9fc10456ec6f23053f7e8717.tar.gz
rust-266ef889e3a58a4c9fc10456ec6f23053f7e8717.zip
pep8 prefers triple quoted with double quotes
Diffstat (limited to 'src/etc/lldb_batchmode.py')
-rw-r--r--src/etc/lldb_batchmode.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/etc/lldb_batchmode.py b/src/etc/lldb_batchmode.py
index 7bbb3577f8d..4952cf4f82c 100644
--- a/src/etc/lldb_batchmode.py
+++ b/src/etc/lldb_batchmode.py
@@ -37,14 +37,14 @@ DEBUG_OUTPUT = False
 
 
 def print_debug(s):
-    "Print something if DEBUG_OUTPUT is True"
+    """Print something if DEBUG_OUTPUT is True"""
     global DEBUG_OUTPUT
     if DEBUG_OUTPUT:
         print("DEBUG: " + str(s))
 
 
 def normalize_whitespace(s):
-    "Replace newlines, tabs, multiple spaces, etc with exactly one space"
+    """Replace newlines, tabs, multiple spaces, etc with exactly one space"""
     return re.sub("\s+", " ", s)
 
 
@@ -71,7 +71,7 @@ registered_breakpoints = set()
 
 
 def execute_command(command_interpreter, command):
-    "Executes a single CLI command"
+    """Executes a single CLI command"""
     global new_breakpoints
     global registered_breakpoints