comparison src/browser/sat_browser/blog.py @ 617:5baca9d46c34 frontends_multi_profiles

browser_side: add/improve some docstrings
author souliane <souliane@mailoo.org>
date Wed, 11 Feb 2015 11:21:27 +0100
parents 1c0d5a87c554
children 2c41ce0c3b3f
comparison
equal deleted inserted replaced
616:1c0d5a87c554 617:5baca9d46c34
435 435
436 @staticmethod 436 @staticmethod
437 def onGroupDrop(host, item): 437 def onGroupDrop(host, item):
438 """Generic panel creation for one, several or all groups (meta). 438 """Generic panel creation for one, several or all groups (meta).
439 439
440 @parem host: the SatWebFrontend instance 440 @param host (SatWebFrontend): the SatWebFrontend instance
441 @param item: single group as a string, list of groups 441 @param item: single group as a string, list of groups
442 (as an array) or None (for the meta group = "all groups") 442 (as an array) or None (for the meta group = "all groups")
443 @return: the created MicroblogPanel 443 @return: the created MicroblogPanel
444 """ 444 """
445 items_ = tuple(item) if isinstance(item, list) else (() if item is None else (item,)) 445 items_ = tuple(item) if isinstance(item, list) else (() if item is None else (item,))