Skip to content

Commit 8f5af63

Browse files
committed
accept Paths
1 parent b8a0c28 commit 8f5af63

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

efast/eoprofiling.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@
1313
# ...
1414

1515

16+
from pathlib import Path
17+
18+
1619
class Profiling:
1720

18-
def __init__(self, output: str = None):
21+
def __init__(self, output: str | Path | None = None):
1922
self._output = output
2023

2124
def __enter__(self):

0 commit comments

Comments
 (0)