Parcourir la source

[2225_statistics] add note to _concat()

Naoki Kambe il y a 12 ans
Parent
commit
08d9023ba3
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      src/lib/python/isc/statistics/counters.py

+ 3 - 1
src/lib/python/isc/statistics/counters.py

@@ -130,7 +130,9 @@ def _stop_timer(start_time, element, spec, identifier):
     _set_counter(element, spec, identifier, sec)
 
 def _concat(*args, sep='/'):
-    """Concatenates words in args with a separator('/')
+    """A helper function that is used to generate an identifier for
+    statistics item names. It concatenates words in args with a
+    separator('/')
     """
     return sep.join(args)