🐑 Create basic stub file for magic.py
A stubfile was initially generated using `stubgen`, and then refined in order to increase the accuracy of the core API methods. Both `from_file` and `from_path`, both as independent functions and class instace methods, have been annotated appropriately (taking `Union[str, bytes]` and returning `Text`. Resolves #174.
J
Jack Edge committed
f645c3949748cac76875ccd0b288621b8e36f40f
Parent: 217c91b