[docstrings] typos corrected stable
authorArthur Lutz <arthur.lutz@logilab.fr>
Wed, 23 May 2012 11:05:03 +0200
branchstable
changeset 8418 3f87aa655466
parent 8417 24409e9c7c66
child 8419 dd222fcc85d3
[docstrings] typos corrected
web/views/baseviews.py
web/views/tableview.py
--- a/web/views/baseviews.py	Wed May 23 11:04:00 2012 +0200
+++ b/web/views/baseviews.py	Wed May 23 11:05:03 2012 +0200
@@ -175,7 +175,7 @@
 class OutOfContextView(EntityView):
     """:__regid__: *outofcontext*
 
-    This view is used whenthe entity should be considered as displayed out of
+    This view is used when the entity should be considered as displayed out of
     its context. By default it produces the result of `textoutofcontext` wrapped
     in a link leading to the primary view of the entity.
     """
--- a/web/views/tableview.py	Wed May 23 11:04:00 2012 +0200
+++ b/web/views/tableview.py	Wed May 23 11:05:03 2012 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -134,7 +134,7 @@
 
     * `header_column_idx`, if not `None`, should be a colum index or a set of
       column index where <th> tags should be generated instead of <td>
-    """
+    """ #'# make emacs happier
     __regid__ = 'table_layout'
     cssclass = "listing"
     needs_css = ('cubicweb.tableview.css',)
@@ -331,14 +331,14 @@
     :attr: `header`, the column header. If None, default to `_(colid)`
     :attr: `addcount`, if True, add the table size in parenthezis beside the header
     :attr: `trheader`, should the header be translated
-    :attr: `escapeheader`, should the header be xml_escape'd
+    :attr: `escapeheader`, should the header be xml_escaped
     :attr: `sortable`, tell if the column is sortable
     :attr: `view`, the table view
     :attr: `_cw`, the request object
     :attr: `colid`, the column identifier
     :attr: `attributes`, dictionary of attributes to put on the HTML tag when
             the cell is rendered
-    """
+    """ #'# make emacs
     attributes = {}
     empty_cell_content = u'&#160;'
 
@@ -578,7 +578,7 @@
     renderer.
 
     .. autoclass:: RsetTableColRenderer
-    """
+    """    #'# make emacs happier
     __regid__ = 'table'
     # selector trick for bw compath with the former :class:TableView
     __select__ = AnyRsetView.__select__ & (~match_kwargs(