Revision: 628
          http://rpy.svn.sourceforge.net/rpy/?rev=628&view=rev
Author:   lgautier
Date:     2008-08-12 13:17:54 +0000 (Tue, 12 Aug 2008)

Log Message:
-----------
- Fixed missing export of method enclos()
- Additions in docstrings

Modified Paths:
--------------
    branches/rpy_nextgen/rpy/rinterface/rinterface.c

Modified: branches/rpy_nextgen/rpy/rinterface/rinterface.c
===================================================================
--- branches/rpy_nextgen/rpy/rinterface/rinterface.c    2008-08-11 22:06:42 UTC 
(rev 627)
+++ branches/rpy_nextgen/rpy/rinterface/rinterface.c    2008-08-12 13:17:54 UTC 
(rev 628)
@@ -1421,8 +1421,8 @@
             " while Python lists or arrays start indexing"
             " at zero.\n"
             "In the hope to avoid confusion, the indexing"
-            " from the Python subset operator (__getitem__)"
-            " is done at zero.");
+            " in Python (e.g., :meth:`__getitem__` / :meth:`__setitem__`)"
+            " starts at zero.");
 
 static int
 VectorSexp_init(PyObject *self, PyObject *args, PyObject *kwds);
@@ -1585,7 +1585,7 @@
 }
 PyDoc_STRVAR(EnvironmentSexp_findVar_doc,
             "Find a name/symbol in the environment, following the chain of 
enclosing\n"
-            " environment until either the topmost environment is reached or 
the name\n"
+            " environments until either the topmost environment is reached or 
the name\n"
             "is found, and returned the associated object. \n"
             "The optional parameter `wantFun` indicates whether functions 
should be\n"
             "returned or not.");
@@ -1619,7 +1619,7 @@
   EnvironmentSexp_findVar_doc},
   {"frame", (PyCFunction)EnvironmentSexp_frame, METH_NOARGS,
   EnvironmentSexp_frame_doc},
-  {"enclos", (PyCFunction)EnvironmentSexp_frame, METH_NOARGS,
+  {"enclos", (PyCFunction)EnvironmentSexp_enclos, METH_NOARGS,
   EnvironmentSexp_enclos_doc},
   {NULL, NULL}          /* sentinel */
 };


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to