Skip to content

Commit 281e51f

Browse files
committed
fixed Session.filter and Group.matching docstrings
1 parent 6770e84 commit 281e51f

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

larray/core/group.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,10 +1301,11 @@ def matching(self, deprecated=None, pattern=None, regex=None):
13011301
----------
13021302
pattern : str or Group
13031303
Pattern to match.
1304-
* `?` matches any single character
1305-
* `*` matches any number of characters
1306-
* [seq] matches any character in seq
1307-
* [!seq] matches any character not in seq
1304+
1305+
- `?` matches any single character
1306+
- `*` matches any number of characters
1307+
- [seq] matches any character in seq
1308+
- [!seq] matches any character not in seq
13081309
13091310
To match any of the special characters above, wrap the character in brackets. For example, `[?]` matches
13101311
the character `?`.

larray/core/session.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -644,10 +644,11 @@ def filter(self, pattern=None, kind=None):
644644
----------
645645
pattern : str, optional
646646
Only keep arrays whose key match `pattern`.
647-
* `?` matches any single character
648-
* `*` matches any number of characters
649-
* [seq] matches any character in seq
650-
* [!seq] matches any character not in seq
647+
648+
- `?` matches any single character
649+
- `*` matches any number of characters
650+
- [seq] matches any character in seq
651+
- [!seq] matches any character not in seq
651652
652653
kind : (tuple of) type, optional
653654
Only keep objects which are instances of type(s) `kind`.

0 commit comments

Comments
 (0)