From adbb9c0165d92ca5e506477c68f22621c5998c18 Mon Sep 17 00:00:00 2001 From: gacekjk Date: Fri, 5 Jun 2015 22:23:33 +0200 Subject: [PATCH] changed docstrings to be more informative, removed unnecessary docstring --- i3pystatus/cpu_freq.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/i3pystatus/cpu_freq.py b/i3pystatus/cpu_freq.py index 22df912..e78d9d5 100644 --- a/i3pystatus/cpu_freq.py +++ b/i3pystatus/cpu_freq.py @@ -1,6 +1,3 @@ -""" -The module gathers information by default from `/proc/cpuinfo` about the current cpu frequency -""" # coding=utf-8 from i3pystatus import IntervalModule @@ -13,8 +10,8 @@ class CpuFreq(IntervalModule): * `{avg}` - mean from all cores in MHz `4.3f` * `{avgg}` - mean from all cores in GHz `1.2f` - * `{corex}` - frequency of a selected core in MHz `4.3f` - * `{corexg}` - frequesncy of a selscted core in GHz `1.2f` + * `{coreX}` - frequency of core number `X` in MHz (format `4.3f`), where 0 <= `X` <= number of cores - 1 + * `{coreXg}` - frequency of core number `X` in GHz (fromat `1.2f`), where 0 <= `X` <= number of cores - 1 """ format = "{avgg}"