[Checkins] SVN: grok/trunk/doc/reference/functions.rst Use autofunction for grok.getApplication and add deprecation hint.

Uli Fouquet uli at gnufix.de
Mon Jan 3 02:02:01 EST 2011


Log message for revision 119282:
  Use autofunction for grok.getApplication and add deprecation hint.
  

Changed:
  U   grok/trunk/doc/reference/functions.rst

-=-
Modified: grok/trunk/doc/reference/functions.rst
===================================================================
--- grok/trunk/doc/reference/functions.rst	2011-01-03 06:50:23 UTC (rev 119281)
+++ grok/trunk/doc/reference/functions.rst	2011-01-03 07:02:01 UTC (rev 119282)
@@ -81,11 +81,11 @@
 :func:`grok.getApplication`
 ===========================
 
-.. function:: grok.getApplication()
+.. autofunction:: grok.getApplication()
 
-    Get the current application object or the nearest enclosing
-    `grok.Application` object. Raises ValueError if no Application can
-    be found.
+    .. deprecated:: 1.4
+       This function has been moved to :mod:`grokcore.site`. Use
+       :func:`grokcore.site.getApplication` instead.
 
 
 :func:`grok.getSite`



More information about the checkins mailing list