mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-02 04:27:46 +08:00
* python/py-type.c (type_object_methods): Fix "array" doc string.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2011-12-01 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* python/py-type.c (type_object_methods): Fix "array" doc string.
|
||||||
|
|
||||||
2011-12-01 Andrew Burgess <aburgess@broadcom.com>
|
2011-12-01 Andrew Burgess <aburgess@broadcom.com>
|
||||||
|
|
||||||
* source.c (print_source_lines_base): Fix missing braces on else
|
* source.c (print_source_lines_base): Fix missing braces on else
|
||||||
|
@ -1540,8 +1540,10 @@ static PyGetSetDef type_object_getset[] =
|
|||||||
static PyMethodDef type_object_methods[] =
|
static PyMethodDef type_object_methods[] =
|
||||||
{
|
{
|
||||||
{ "array", typy_array, METH_VARARGS,
|
{ "array", typy_array, METH_VARARGS,
|
||||||
"array (N) -> Type\n\
|
"array ([LOW_BOUND,] HIGH_BOUND) -> Type\n\
|
||||||
Return a type which represents an array of N objects of this type." },
|
Return a type which represents an array of objects of this type.\n\
|
||||||
|
The bounds of the array are [LOW_BOUND, HIGH_BOUND] inclusive.\n\
|
||||||
|
If LOW_BOUND is omitted, a value of zero is used." },
|
||||||
{ "__contains__", typy_has_key, METH_VARARGS,
|
{ "__contains__", typy_has_key, METH_VARARGS,
|
||||||
"T.__contains__(k) -> True if T has a field named k, else False" },
|
"T.__contains__(k) -> True if T has a field named k, else False" },
|
||||||
{ "const", typy_const, METH_NOARGS,
|
{ "const", typy_const, METH_NOARGS,
|
||||||
|
Reference in New Issue
Block a user