[New-bugs-announce] [issue14259] regex.finditer() doesn't accept keyword arguments
py.user
report at bugs.python.org
Mon Mar 12 06:22:56 CET 2012
New submission from py.user <port139 at yandex.ru>:
>>> import re
>>> p = re.compile(r'abc')
>>> res = p.search('abcdefabcdef', pos=1, endpos=10)
>>> res = p.match('abcdefabcdef', pos=1, endpos=10)
>>> res = p.findall('abcdefabcdef', pos=1, endpos=10)
>>> res = p.finditer('abcdefabcdef', pos=1, endpos=10)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: finditer() takes no keyword arguments
>>>
----------
components: Regular Expressions
messages: 155441
nosy: ezio.melotti, mrabarnett, py.user
priority: normal
severity: normal
status: open
title: regex.finditer() doesn't accept keyword arguments
type: behavior
versions: Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14259>
_______________________________________
More information about the New-bugs-announce
mailing list