Commits

Marcin Kasperski committed e31b896

A few comments.

Comments (0)

Files changed (5)

src/mekk/fics/parsing/reply/seek.py

     )
 
 def parse_seek_reply(reply_text):
+    """
+    Parse output of "seek" command
+    :param reply_text: actual FICS output
+    :type reply_text: str
+    :return: seek details (or None)
+    :rtype: SeekRef
+    :raise: errors.BadFicsCommandParameters
+    """
     for good_re in re_proper_seeks:
         m = good_re.search(reply_text)
         if m:

src/mekk/fics/parsing/reply/who.py

 
 
 def parse_who_reply(text):
+    """
+    Parse reply of `who` command (listing of players present on the site)
+    :param text: text output of the command
+    :type text: str
+    """
     pass

src/mekk/fics/support/tell_status.py

     def good_tell(self, who):
         """
         Given user said sth properly.
+        :param who: player whose tell was proper
         """
         if who in self._bad_command_count:
             del self._bad_command_count[ who ]

src/mekk/fics/tell_commands/fics_client_mixin_tell_commands.py

 
         :param exc: actual exception
         :type exc: Exception
-        :param stage: processing stage on which error happened: 'parse' if failure
+        :param stage: processing stage on which error happened - 'parse' if failure
             happened during parsing (error is about wrong command, wrong params etc),
             'run' if during actual processing
         :type stage: str

src/mekk/fics/tell_commands/odict.py

 # -*- coding: utf-8 -*-
 
+"""
+Import best possible OrderedDict
+"""
+
 try:
     from collections import OrderedDict
 except ImportError:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.