py/objstr: Fix error reporting for unexpected end of modulo format str.
This commit is contained in:
@@ -111,3 +111,8 @@ try:
|
||||
'%l' % 1
|
||||
except ValueError:
|
||||
print('ValueError')
|
||||
|
||||
try:
|
||||
'a%' % 1
|
||||
except ValueError:
|
||||
print('ValueError')
|
||||
|
||||
Reference in New Issue
Block a user