Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: tools/isolate/trace_inputs.py

Issue 10703140: Redundant docstrings are redundant. Reduce redundancy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/isolate/trace_inputs.py
diff --git a/tools/isolate/trace_inputs.py b/tools/isolate/trace_inputs.py
index e7573a88e347110cbd3c3399a106304eb6a9e141..f71078d9c7f944fd678787b1b363b2da6d8ccfa2 100755
--- a/tools/isolate/trace_inputs.py
+++ b/tools/isolate/trace_inputs.py
@@ -1581,10 +1581,7 @@ class Dtrace(ApiBase):
text = text[:-2]
def unescape(x):
- """Replaces '\\' with '\' and '\?' (where ? is anything) with ?.
-
- Implemented as an automaton.
- """
+ """Replaces '\\' with '\' and '\?' (where ? is anything) with ?."""
out = []
escaped = False
for i in x:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698