gh-117557: Improve error messages when a string, bytes or bytearray of length 1 are expected#117631
Conversation
…rray of length 1 are expected
15ff9a3 to
308f7a2
Compare
erlend-aasland
left a comment
There was a problem hiding this comment.
Nice; thanks, Serhiy!
I left some comments.
|
Right, |
|
I am not sure about articles. It is a puzzle to me whether they should be used, and whether not. |
erlend-aasland
left a comment
There was a problem hiding this comment.
I think these suggestions are correct, but I'd like them to be verified by a native speaker.
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
|
@terryjreedy, could you please take a look? |
|
When you're done making the requested changes, leave the comment: |
|
I have made the requested changes; please review again. Although I am not sure that I have made them all. There is a variety in wording, and some examples look contradictory. "a unicode character", "str of length 1", "string of length 1" -- refers to str of length 1. |
|
Thanks for making the requested changes! @erlend-aasland, @terryjreedy: please review the changes made to this pull request. |
|
@terryjreedy, could you please take another look? |
…rray of length 1 are expected (pythonGH-117631)
Uh oh!
There was an error while loading. Please reload this page.