summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2015-03-18 19:39:49 +0100
committerhut <hut@lepus.uberspace.de>2015-03-18 19:39:49 +0100
commit73d4366e83b00b2840ed03ce8a7cd4f65880a603 (patch)
tree7e7050c6cffaee673239c4314bbeeb24b1317ce0
parent8151f65ce46156f2c70867f9c3be5f73426d316f (diff)
downloadranger-73d4366e83b00b2840ed03ce8a7cd4f65880a603.tar.gz
ranger.api: added docstring to register_linemode
-rw-r--r--ranger/api/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/api/__init__.py b/ranger/api/__init__.py
index 8e9b1d74..572cf1a4 100644
--- a/ranger/api/__init__.py
+++ b/ranger/api/__init__.py
@@ -30,6 +30,7 @@ def hook_ready(fm):
 from ranger.core.linemode import LinemodeBase
 
 def register_linemode(linemode_class):
+    """Add a custom linemode class.  See ranger.core.linemode"""
     from ranger.container.fsobject import FileSystemObject
     FileSystemObject.linemode_dict[linemode_class.name] = linemode_class()
     return linemode_class