Skip to content

Commit

Permalink
IRCBuffer.find's not_pattern arg should be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jesopo committed Jan 20, 2020
1 parent 37b15e4 commit fb457c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IRCBuffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_all(self, for_user: typing.Optional[str]=None):
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:
Expand Down

0 comments on commit fb457c5

Please sign in to comment.