Skip to content

Commit 9599415

Browse files
committed
Fix typing
1 parent baa063c commit 9599415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/python/src/typing/InputParser.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ constexpr auto out_descr() {
7777
struct InputParser : public nanobind::object {
7878
LIEF_PY_DEFAULT_CTOR(InputParser, nanobind::object);
7979

80-
NB_OBJECT_DEFAULT(InputParser, object, "Union[io.IOBase | os.PathLike | bytes | list[int]]", check)
80+
NB_OBJECT_DEFAULT(InputParser, object, "Union[str | io.IOBase | os.PathLike | bytes | list[int]]", check)
8181

8282
std::unique_ptr<BinaryStream> into_stream();
8383

0 commit comments

Comments
 (0)