| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
@fedonman
Fixes #155499.
border() and box() document 0 as the request for the default character. The wide-character path treated it as a narrow character, so mixing it with a string raised TypeError.
Treat zero like an omitted argument when calling wborder_set(), while continuing to reject nonzero integer or byte characters mixed with wide characters. The tests cover the reported border() call and both box() argument orders.
Tests: