h2non / filetype.py

Small, dependency-free, fast Python package to infer binary file types checking the magic numbers signature
https://h2non.github.io/filetype.py
MIT License
650 stars 111 forks source link

Incorrect documentation for functions accepting "bytes" #166

Open bharel opened 11 months ago

bharel commented 11 months ago

"Args: obj: path to file, bytes or bytearray."

It also accepts file-like objects.