diff options
author | Fred Drake <fdrake@acm.org> | 2001-01-08 04:04:34 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-01-08 04:04:34 (GMT) |
commit | daa823ad9a2d8c76ddc152b1ccae26251500efda (patch) | |
tree | 12e9c3d15dcb5541b3efdc6f72b22899c1fa269f /Misc | |
parent | 1c73323d6fb1807123ccbf56019d70d4832f9590 (diff) | |
download | cpython-daa823ad9a2d8c76ddc152b1ccae26251500efda.zip cpython-daa823ad9a2d8c76ddc152b1ccae26251500efda.tar.gz cpython-daa823ad9a2d8c76ddc152b1ccae26251500efda.tar.bz2 |
Text.__init__(): Make sure the data parameter is a string (8-bit or
Unicode); raise TypeError if not.
This closes SF bug #126866.
Diffstat (limited to 'Misc')
0 files changed, 0 insertions, 0 deletions