Skip to content

Commit

Permalink
Make OpenPath type compatible with Python v3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Donaim committed Aug 8, 2024
1 parent 26a436a commit e01fbd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/multicsv/open.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

from typing import Union, Literal, TextIO
import os
from pathlib import Path

from .file import MultiCSVFile


OpenPath = Union[str, os.PathLike[str], int, bytes, os.PathLike[bytes]]
OpenPath = Union[str, int, bytes, Path]


def multicsv_open(path: OpenPath,
Expand Down

0 comments on commit e01fbd3

Please sign in to comment.