summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/c-api/object.rst3
-rw-r--r--Doc/howto/regex.rst2
2 files changed, 2 insertions, 3 deletions
diff --git a/Doc/c-api/object.rst b/Doc/c-api/object.rst
index 388c2ae..79565e1 100644
--- a/Doc/c-api/object.rst
+++ b/Doc/c-api/object.rst
@@ -66,8 +66,7 @@ Object Protocol
``o.attr_name = v``.
-.. cfunction:: int PyObject_GenericSetAttr(PyObject *o, PyObject *name, PyObject
-*value)
+.. cfunction:: int PyObject_GenericSetAttr(PyObject *o, PyObject *name, PyObject *value)
Generic attribute setter function that is meant to be put into a type
object's ``tp_setattro`` slot. It looks for a data descriptor in the
diff --git a/Doc/howto/regex.rst b/Doc/howto/regex.rst
index eab23af..81d5aba 100644
--- a/Doc/howto/regex.rst
+++ b/Doc/howto/regex.rst
@@ -600,7 +600,7 @@ of each one.
.. data:: U
UNICODE
- :index:
+ :noindex:
Make ``\w``, ``\W``, ``\b``, ``\B``, ``\d``, ``\D``, ``\s`` and ``\S``
dependent on the Unicode character properties database.