mirror of
https://github.com/lief-project/LIEF
synced 2026-06-08 15:30:44 +00:00
This commit cleans and modernizes the code base of LIEF.
Among the changes: - It removes the ``and, or, not`` keywords - It updates the Documentation - It moves the internal structures in the ``details::`` namespace
This commit is contained in:
@@ -41,10 +41,10 @@ void create<Parser>(py::module& m) {
|
||||
|
||||
m.def("parse",
|
||||
[] (py::object byteio, const std::string& name) {
|
||||
auto&& io = py::module::import("io");
|
||||
auto&& RawIOBase = io.attr("RawIOBase");
|
||||
auto&& BufferedIOBase = io.attr("BufferedIOBase");
|
||||
auto&& TextIOBase = io.attr("TextIOBase");
|
||||
const auto& io = py::module::import("io");
|
||||
const auto& RawIOBase = io.attr("RawIOBase");
|
||||
const auto& BufferedIOBase = io.attr("BufferedIOBase");
|
||||
const auto& TextIOBase = io.attr("TextIOBase");
|
||||
|
||||
py::object rawio;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user