New submission from py.user <port...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue14259>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to