IRCBuffer.find's not_pattern arg should be optional
This commit is contained in:
parent
37b15e442d
commit
fb457c52fb
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class Buffer(object):
|
||||||
yield line
|
yield line
|
||||||
|
|
||||||
def find(self, pattern: typing.Union[str, typing.Pattern[str]],
|
def find(self, pattern: typing.Union[str, typing.Pattern[str]],
|
||||||
not_pattern: typing.Union[str, typing.Pattern[str]],
|
not_pattern: typing.Union[str, typing.Pattern[str]]=None,
|
||||||
from_self=True, for_user: str=None, deleted=False
|
from_self=True, for_user: str=None, deleted=False
|
||||||
) -> typing.Optional[BufferLineMatch]:
|
) -> typing.Optional[BufferLineMatch]:
|
||||||
if for_user:
|
if for_user:
|
||||||
|
|
Loading…
Reference in a new issue