Staging: this is not the live site, pydocs.org.
Read a file and parse its contents into a Message object model.
Optional _class and strict are passed to the Parser constructor.
Changed in 3.3, 3.6
- 3.3: Removed the strict argument. Added the policy keyword.
- 3.6: _class defaults to the policy message_factory.