summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2013-06-23 23:30:44 +0200
committerUltrabug <ultrabug@gentoo.org>2013-06-23 23:30:44 +0200
commitac8ba093907c3b4dee111b582bbf224cdfa18094 (patch)
tree1cce15c711dfb4d6984e46e7c548fd11a39bec8c /examples
parentbed42f47da53aba91cb317e7aa8a37fca1076f6c (diff)
add information about method execution in the empty_class example
Diffstat (limited to 'examples')
-rwxr-xr-x[-rw-r--r--]examples/empty_class.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/empty_class.py b/examples/empty_class.py
index 4d74e55..db1f9c1 100644..100755
--- a/examples/empty_class.py
+++ b/examples/empty_class.py
@@ -1,6 +1,10 @@
class Py3status:
"""
- Empty and basic py3status class
+ Empty and basic py3status class.
+
+ NOTE: py3status will NOT execute :
+ - methods starting with '_'
+ - methods decorated by @property and @staticmethod
"""
def empty(self, json, i3status_config):
"""