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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/bindings/print_idl_diff.py

Issue 2256793002: Make docstrings more consistent using format-webkitpy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make indentation of final quote based on parse tree (indentation prior to docstring node) rather th… Created 4 years, 3 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 | third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/bindings/print_idl_diff.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/bindings/print_idl_diff.py b/third_party/WebKit/Tools/Scripts/webkitpy/bindings/print_idl_diff.py
index 4330197859e8dd128c2d5e9383a357b12ebffd92..71934c29ab11f09ba4b51f6db6f1cb405230e339 100755
--- a/third_party/WebKit/Tools/Scripts/webkitpy/bindings/print_idl_diff.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/bindings/print_idl_diff.py
@@ -115,8 +115,7 @@ class Colorize(object):
self.out = out
def reset_color(self):
- """Reset text's color to default.
- """
+ """Reset text's color to default."""
self.out.write('\033[0m')
def change_color(self, color):
@@ -130,13 +129,11 @@ class Colorize(object):
raise Exception('Unsupported color.')
def writeln(self, string):
- """Print text with a line-break.
- """
+ """Print text with a line-break."""
self.out.write(string + '\n')
def write(self, string):
- """Print text without a line-break.
- """
+ """Print text without a line-break."""
self.out.write(string)
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698