%PDF- %PDF-
Direktori : /proc/thread-self/root/lib/python3/dist-packages/pythran/pythonic/builtins/file/ |
Current File : //proc/thread-self/root/lib/python3/dist-packages/pythran/pythonic/builtins/file/readlines.hpp |
#ifndef PYTHONIC_BUILTIN_FILE_READLINES_HPP #define PYTHONIC_BUILTIN_FILE_READLINES_HPP #include "pythonic/include/builtins/file/readlines.hpp" #include "pythonic/types/file.hpp" #include "pythonic/types/list.hpp" #include "pythonic/types/str.hpp" #include "pythonic/utils/functor.hpp" PYTHONIC_NS_BEGIN namespace builtins { namespace file { template <class F> types::list<types::str> readlines(F &&f) { return f.readlines(); } template <class F> types::list<types::str> readlines(F &&f, long sizehint) { return f.readlines(sizehint); } } } PYTHONIC_NS_END #endif