Skip to content
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 of collection.py can be improved #2793

Open
jaw111 opened this issue May 27, 2024 · 0 comments
Open

Documentation of collection.py can be improved #2793

jaw111 opened this issue May 27, 2024 · 0 comments

Comments

@jaw111
Copy link

jaw111 commented May 27, 2024

Referring to: https://rdflib.readthedocs.io/en/stable/apidocs/rdflib.html#rdflib.collection.Collection

Suggestions to improve:

  • Show how a Collection can be constructed by passing a list as the third argument when instantiating the Collection class, instead of using g.add to iteratively add statements
  • The example for append method does not show how to append an item to a collection
  • The example for __dict__ is totally messed up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant