mirror of
https://github.com/python/cpython.git
synced 2025-10-06 15:11:58 +00:00
Issue #26765: Ensure that bytes- and unicode-specific stringlib files are used
with correct type.
This commit is contained in:
parent
cbcc2fd641
commit
bcde10aa7e
6 changed files with 15 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
|||
/* stringlib: bytes joining implementation */
|
||||
|
||||
#if STRINGLIB_SIZEOF_CHAR != 1
|
||||
#if STRINGLIB_IS_UNICODE
|
||||
#error join.h only compatible with byte-wise strings
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue