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

Unified Diff: tools/telemetry/telemetry/timeline/sample.py

Issue 1028903002: [Telemetry] Style fix, make docstrings consistent with style guide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
Index: tools/telemetry/telemetry/timeline/sample.py
diff --git a/tools/telemetry/telemetry/timeline/sample.py b/tools/telemetry/telemetry/timeline/sample.py
index 002d294d0ce9c3093bf5e5e5b8b1154dca0c49bd..806f60fafa2635a581485698ceee0eed38121471 100644
--- a/tools/telemetry/telemetry/timeline/sample.py
+++ b/tools/telemetry/telemetry/timeline/sample.py
@@ -6,14 +6,14 @@ import telemetry.timeline.event as timeline_event
class Sample(timeline_event.TimelineEvent):
- ''' A Sample represents a sample taken at an instant in time
+ """A Sample represents a sample taken at an instant in time
plus parameters associated with that sample.
NOTE: The Sample class implements the same interface as
Slice. These must be kept in sync.
All time units are stored in milliseconds.
- '''
+ """
def __init__(self, parent_thread, category, name, timestamp, args=None):
super(Sample, self).__init__(
category, name, timestamp, 0, args=args)
« no previous file with comments | « tools/telemetry/telemetry/timeline/process.py ('k') | tools/telemetry/telemetry/timeline/surface_flinger_importer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698