changeset 37:74a543f57ce7

docstrings: fix some typos, move some (c) infos to comments
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 28 Feb 2011 03:46:52 +0100
parents fe43d37ca0ef
children 1d8e9b1153d6
files MoinMoin/apps/frontend/views.py MoinMoin/datastruct/backends/__init__.py MoinMoin/util/plugins.py MoinMoin/util/registry.py
diffstat 4 files changed, 6 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/apps/frontend/views.py	Mon Feb 28 03:29:59 2011 +0100
+++ b/MoinMoin/apps/frontend/views.py	Mon Feb 28 03:46:52 2011 +0100
@@ -1,6 +1,8 @@
 # Copyright: 2003-2010 MoinMoin:ThomasWaldmann
 # Copyright: 2008 MoinMoin:FlorianKrupicka
 # Copyright: 2010 MoinMoin:DiogenesAugusto
+# Copyright: 2001 Richard Jones <richard@bizarsoftware.com.au>
+# Copyright: 2001 Juergen Hermann <jh@web.de>
 # License: GNU GPL v2 (or any later version), see LICENSE.txt for details.
 
 """
@@ -1361,10 +1363,6 @@
 def similar_names(item_name):
     """
     list similar item names
-
-    @copyright: 2001 Richard Jones <richard@bizarsoftware.com.au>,
-                2001 Juergen Hermann <jh@web.de>
-    @license: GNU GPL v2 (or any later version), see LICENSE.txt for details.
     """
     start, end, matches = findMatches(item_name)
     keys = matches.keys()
--- a/MoinMoin/datastruct/backends/__init__.py	Mon Feb 28 03:29:59 2011 +0100
+++ b/MoinMoin/datastruct/backends/__init__.py	Mon Feb 28 03:46:52 2011 +0100
@@ -34,7 +34,7 @@
         Initialize a group.
 
         @param name: moin group name
-        @backend: backend object which created this object
+        @param backend: backend object which created this object
         """
         self.name = name
         self._backend = backend
@@ -263,7 +263,7 @@
         items internally.
 
         @param name: moin dict name
-        @backend: backend object which created this object
+        @param backend: backend object which created this object
         """
         self.name = name
         self._backend = backend
--- a/MoinMoin/util/plugins.py	Mon Feb 28 03:29:59 2011 +0100
+++ b/MoinMoin/util/plugins.py	Mon Feb 28 03:46:52 2011 +0100
@@ -119,7 +119,7 @@
 
 def wikiPlugins(kind, cfg):
     """
-    Gets a dict containing the names of all plugins of @kind
+    Gets a dict containing the names of all plugins of <kind>
     as the key and the containing module name as the value.
 
     @param kind: what kind of modules we look for
--- a/MoinMoin/util/registry.py	Mon Feb 28 03:29:59 2011 +0100
+++ b/MoinMoin/util/registry.py	Mon Feb 28 03:46:52 2011 +0100
@@ -71,7 +71,7 @@
         """
         Unregister a factory
 
-        @param: factory: Factory to unregister
+        @param factory: Factory to unregister
         """
         old_entries = self._entries
         entries = [i for i in old_entries if not i.factory is factory]