summaryrefslogtreecommitdiff
path: root/Include/structseq.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-01-23 12:30:59 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2017-01-23 12:30:59 +0200
commita5c896babbece4868dffd1e8e64ab88afe55b46f (patch)
tree35438398ad09a477613bc77a594c9860a32ec8ab /Include/structseq.h
parentc0f01d9eb22ed81c49d8c9fbfd49b6d4c4020310 (diff)
parent1bd620bca594ba9193c63e79e7836765d23047cc (diff)
downloadcpython-a5c896babbece4868dffd1e8e64ab88afe55b46f.tar.gz
Issue #26729: Fixed __text_signature__ for sorted().
Patch by Erik Welch.
Diffstat (limited to 'Include/structseq.h')
-rw-r--r--Include/structseq.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Include/structseq.h b/Include/structseq.h
index af227164c8..e5e5d5c573 100644
--- a/Include/structseq.h
+++ b/Include/structseq.h
@@ -8,13 +8,13 @@ extern "C" {
#endif
typedef struct PyStructSequence_Field {
- char *name;
- char *doc;
+ const char *name;
+ const char *doc;
} PyStructSequence_Field;
typedef struct PyStructSequence_Desc {
- char *name;
- char *doc;
+ const char *name;
+ const char *doc;
struct PyStructSequence_Field *fields;
int n_in_sequence;
} PyStructSequence_Desc;