Fix erroneous comments in parse_utils
authorAntoine Busque <abusque@efficios.com>
Mon, 14 Mar 2016 19:41:33 +0000 (15:41 -0400)
committerAntoine Busque <abusque@efficios.com>
Mon, 14 Mar 2016 19:41:33 +0000 (15:41 -0400)
Signed-off-by: Antoine Busque <abusque@efficios.com>
lttnganalyses/common/parse_utils.py

index b8aebaabe25d5acccac61ff3f51392027345ce0a..f7a9361d9ab22f1df84be56424b591788c39708a 100644 (file)
@@ -58,7 +58,7 @@ def parse_size(size_str):
         units.
 
     Returns:
-        A non-negative number of bytes.
+        A number of bytes.
 
     Raises:
         ValueError: if units are unrecognised or the size is not a
@@ -106,7 +106,7 @@ def parse_duration(duration_str):
         duration and units.
 
     Returns:
-        A non-negative number of nanoseconds.
+        A number of nanoseconds.
 
     Raises:
         ValueError: if units are unrecognised or the size is not a
@@ -301,7 +301,7 @@ def _parse_date_time(date):
 def _parse_date_timestamp(date):
     """Parse timestamp string in nanoseconds from epoch.
 
-    This matches 93847238974923874.
+    This matches 1418423383802588035.
 
     Args:
         date (str): the date string to be parsed.
This page took 0.025392 seconds and 5 git commands to generate.