#ifndef PYTHONIC_INCLUDE_BUILTIN_FILE_HPP #define PYTHONIC_INCLUDE_BUILTIN_FILE_HPP #include "pythonic/include/types/file.hpp" #include "pythonic/include/types/str.hpp" #include "pythonic/include/utils/functor.hpp" PYTHONIC_NS_BEGIN namespace builtins { namespace anonymous { types::file file(types::str const &filename, types::str const &strmode = "r"); } DEFINE_FUNCTOR(pythonic::builtins::anonymous, file); } PYTHONIC_NS_END #endif