diff options
author | Florian Bruhin <me@the-compiler.org> | 2019-09-09 11:06:37 +0200 |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2019-09-09 04:06:37 -0500 |
commit | 1f86fdcfc57270ee569cc58269a4e08afe7608ec (patch) | |
tree | 0f6c12c73b6891734890c9496f27ddd0a05fb0da /Python/pymath.c | |
parent | aa515082749687c1e3bc9ec5e2296368191b9f84 (diff) | |
download | cpython-git-1f86fdcfc57270ee569cc58269a4e08afe7608ec.tar.gz |
bpo-15817: gdbinit: Document commands after defining them (GH-15021)
The gdb manual[1] says the following for "document":
The command commandname must already be defined.
[1] https://sourceware.org/gdb/current/onlinedocs/gdb/Define.html
And indeed when trying to use the gdbinit file with gdb 8.3, I get:
.../cpython/Misc/gdbinit:17: Error in sourced command file:
Undefined command: "pyo". Try "help".
Fix this by moving all documentation blocks after the define blocks.
This was introduced in GH-6384.
Diffstat (limited to 'Python/pymath.c')
0 files changed, 0 insertions, 0 deletions