-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation for load() is wrong #15
Comments
Replacing all examples of |
Is this project dead or something? I had assumed it was the unofficial default yaml plugin for Python, but poking around in these issues, it seems like most of the examples in your docs (anything that calls
|
What is up with the documentation? Looks like this change occured almost three years ago, adn the docs are still completely out of date. And they are also not helpful in deciding what Loader to use -- if there isn't going to be a default, there really should be guidance up front! Maybe something in the error message even. Is there a new source of the docs? https://github.com/yaml/pyyaml.org looks like it hasn't been updated in 4 years -- which would explain things ... |
The documentation has many instances of
load
being called with one argument, which is invalid usage since release 6.0. For instance, one example looks like this:This call of load does not work in release 6.0.
Also, the signature in the Reference section is incorrect. The signature is given as
load(stream, Loader=Loader)
but the correct signature isload(stream, Loader)
.The text was updated successfully, but these errors were encountered: