[01/14] Update Python Block.end documentation

Message ID 20180908201417.13444-2-tom@tromey.com
State New
Headers show
Series
  • Many small Python documentation fixes
Related show

Commit Message

Tom Tromey Sept. 8, 2018, 8:14 p.m.
PR python/16033 points out that Block.end doesn't describe whether it
is inclusive or exclusive.  This patch fixes the documentation.

gdb/doc/ChangeLog
2018-09-08  Tom Tromey  <tom@tromey.com>

	PR python/16033:
	* python.texi (Blocks In Python): Document that Block.end is
	exclusive.
---
 gdb/doc/ChangeLog   | 6 ++++++
 gdb/doc/python.texi | 3 ++-
 2 files changed, 8 insertions(+), 1 deletion(-)

-- 
2.13.6

Patch

diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 584b909c84b..86a91110e0e 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -4455,7 +4455,8 @@  The start address of the block.  This attribute is not writable.
 @end defvar
 
 @defvar Block.end
-The end address of the block.  This attribute is not writable.
+One past the last address that appears in the block.  This attribute
+is not writable.
 @end defvar
 
 @defvar Block.function