changed docstrings to be more informative, removed unnecessary docstring

This commit is contained in:
gacekjk 2015-06-05 22:23:33 +02:00
parent be87016259
commit adbb9c0165

View File

@ -1,6 +1,3 @@
"""
The module gathers information by default from `/proc/cpuinfo` about the current cpu frequency
"""
# coding=utf-8 # coding=utf-8
from i3pystatus import IntervalModule from i3pystatus import IntervalModule
@ -13,8 +10,8 @@ class CpuFreq(IntervalModule):
* `{avg}` - mean from all cores in MHz `4.3f` * `{avg}` - mean from all cores in MHz `4.3f`
* `{avgg}` - mean from all cores in GHz `1.2f` * `{avgg}` - mean from all cores in GHz `1.2f`
* `{corex}` - frequency of a selected core in MHz `4.3f` * `{coreX}` - frequency of core number `X` in MHz (format `4.3f`), where 0 <= `X` <= number of cores - 1
* `{corexg}` - frequesncy of a selscted core in GHz `1.2f` * `{coreXg}` - frequency of core number `X` in GHz (fromat `1.2f`), where 0 <= `X` <= number of cores - 1
""" """
format = "{avgg}" format = "{avgg}"