Fix Value.format_string docu for static members argument
authorHannes Domani <ssbssa@yahoo.de>
Tue, 24 Nov 2020 18:43:19 +0000 (19:43 +0100)
committerHannes Domani <ssbssa@yahoo.de>
Sun, 29 Nov 2020 18:07:30 +0000 (19:07 +0100)
The argument is called static_members, not static_fields.

gdb/doc/ChangeLog:

2020-11-29  Hannes Domani  <ssbssa@yahoo.de>

PR python/26974
* python.texi: Fix docu for static members argument.

gdb/doc/ChangeLog
gdb/doc/python.texi

index 69b079b4df0d1a0790d4c2119cce7da8e13f7268..08fb92bded8df72aba6950097fce41457aa35dcd 100644 (file)
@@ -1,3 +1,8 @@
+2020-11-29  Hannes Domani  <ssbssa@yahoo.de>
+
+       PR python/26974
+       * python.texi: Fix docu for static members argument.
+
 2020-11-19  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * gdb.texinfo (Debugging Output): Document 'set/show debug
index 9bb9f3c2a6b74a299f77027b57978cf853f1545d..c107d4506d67066bc84569a3f05ce43e2d61cf6a 100644 (file)
@@ -921,7 +921,7 @@ identify the @emph{actual} (derived) type of the object rather than the
 the @emph{declared} type should be used.  (See @code{set print object} in
 @ref{Print Settings}).
 
-@item static_fields
+@item static_members
 @code{True} if static members should be included in the string
 representation of a C@t{++} object, @code{False} if they shouldn't (see
 @code{set print static-members} in @ref{Print Settings}).