diff Python/Python-ast.c @ 41611:c48fe4dc34a9

Change UnicodeDecodeError objects so that the 'object' attribute is a bytes object. Add 'y' and 'y#' format specifiers that work like 's' and 's#' but only accept bytes objects.
author Walter Dörwald <walter@livinglogic.de>
date Fri, 04 May 2007 19:28:21 +0000
parents 3e5fdb93c95a
children e16c8e5c5ca4
line wrap: on
line diff