diff options
| author | 2020-01-20 16:27:03 +0000 | |
|---|---|---|
| committer | 2020-01-20 16:28:50 +0000 | |
| commit | fb457c52fb474675a0b80da0f96524615fdcf9ed (patch) | |
| tree | 0dd8a0ee6f19209403b6be95561353e904e347fb /src/IRCBuffer.py | |
| parent | utils.datetime.is8601_parse no longer has a "microseconds" arg (diff) | |
| signature | ||
IRCBuffer.find's not_pattern arg should be optional
Diffstat (limited to 'src/IRCBuffer.py')
| -rw-r--r-- | src/IRCBuffer.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
