From fb457c52fb474675a0b80da0f96524615fdcf9ed Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 20 Jan 2020 16:27:03 +0000 Subject: [PATCH] IRCBuffer.find's not_pattern arg should be optional --- src/IRCBuffer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IRCBuffer.py b/src/IRCBuffer.py index c3afe936..10e7f25d 100644 --- a/src/IRCBuffer.py +++ b/src/IRCBuffer.py @@ -56,7 +56,7 @@ class Buffer(object): yield line 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 ) -> typing.Optional[BufferLineMatch]: if for_user: