Skip to content

Commit 706cb78

Browse files
Documentation following PR #95 (#96)
Docstring update for PR #95. CC @paulgessinger.
1 parent 09c49d7 commit 706cb78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pyhepmc/io.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ class HepMCFile:
196196
fileobj : str or Path or IO object
197197
Filename to open for reading or writing or file object. When writing to
198198
existing files, the contents are replaced. When the filename ends with the
199-
suffixes ".gz", ".bz2", or ".xz", the contents are transparently compressed
200-
and decompressed.
199+
suffixes ".gz", ".bz2", ".xz", ".zst" or ".zstd",
200+
the contents are transparently compressed and decompressed.
201201
mode : str, optional
202202
Must be either "r" (default) or "w", to indicate whether to open for reading
203203
or writing.

0 commit comments

Comments
 (0)