summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-08-11 18:14:08 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-08-11 18:14:08 (GMT)
commita2fe334081295d53048dd78d16fb4352303a4991 (patch)
tree41ec61d0555f8396db5028b5547ffc541aea6274 /Doc/library
parentb79be95dacc9824a70952e017ecbb87ce5575f6e (diff)
downloadcpython-a2fe334081295d53048dd78d16fb4352303a4991.zip
cpython-a2fe334081295d53048dd78d16fb4352303a4991.tar.gz
cpython-a2fe334081295d53048dd78d16fb4352303a4991.tar.bz2
Issue #15527: fix docs, remove double parens by changing markup.
Patch by Serhiy Storchaka.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/os.rst2
-rw-r--r--Doc/library/platform.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index dae5037..aec8073 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -450,7 +450,7 @@ process and user.
.. function:: setpgrp()
- Call the system call :c:func:`setpgrp` or :c:func:`setpgrp(0, 0)` depending on
+ Call the system call :c:func:`setpgrp` or ``setpgrp(0, 0)`` depending on
which version is implemented (if any). See the Unix manual for the semantics.
Availability: Unix.
diff --git a/Doc/library/platform.rst b/Doc/library/platform.rst
index 57dd85b..a6a98f1 100644
--- a/Doc/library/platform.rst
+++ b/Doc/library/platform.rst
@@ -30,8 +30,8 @@ Cross Platform
returned as strings.
Values that cannot be determined are returned as given by the parameter presets.
- If bits is given as ``''``, the :c:func:`sizeof(pointer)` (or
- :c:func:`sizeof(long)` on Python version < 1.5.2) is used as indicator for the
+ If bits is given as ``''``, the ``sizeof(pointer)`` (or
+ ``sizeof(long)`` on Python version < 1.5.2) is used as indicator for the
supported pointer size.
The function relies on the system's :file:`file` command to do the actual work.