Remove @code for python

Message ID 1490186626-13186-1-git-send-email-yao.qi@linaro.org
State New, archived
Headers

Commit Message

Yao Qi March 22, 2017, 12:43 p.m. UTC
  There's no reason to use @code for Python the name of a programming
language.

gdb/doc:

2017-03-22  Yao Qi  <yao.qi@linaro.org>

	* python.texi (Inferiors In Python): Remove @code from Python.
---
 gdb/doc/ChangeLog   | 4 ++++
 gdb/doc/python.texi | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
  

Comments

Eli Zaretskii March 22, 2017, 3:39 p.m. UTC | #1
> From: Yao Qi <qiyaoltc@gmail.com>
> Date: Wed, 22 Mar 2017 12:43:46 +0000
> 
> There's no reason to use @code for Python the name of a programming
> language.
> 
> gdb/doc:
> 
> 2017-03-22  Yao Qi  <yao.qi@linaro.org>
> 
> 	* python.texi (Inferiors In Python): Remove @code from Python.

Thanks, this is OK.
  

Patch

diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 8253cbe..5eb3a6c 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@ 
+2017-03-22  Yao Qi  <yao.qi@linaro.org>
+
+	* python.texi (Inferiors In Python): Remove @code from Python.
+
 2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
 
 	* python.texi (Recordings In Python): Document return type of
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 1fb8b25..ce5810e 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -2760,7 +2760,7 @@  return an empty tuple.
 Read @var{length} addressable memory units from the inferior, starting at
 @var{address}.  Returns a buffer object, which behaves much like an array
 or a string.  It can be modified and given to the
-@code{Inferior.write_memory} function.  In @code{Python} 3, the return
+@code{Inferior.write_memory} function.  In Python 3, the return
 value is a @code{memoryview} object.
 @end defun