You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2012-08-08.05:07:46.841>created_at=<Date2012-08-08.04:27:00.817>labels= ['type-feature', 'docs']
title='Provide examples in Python doc for usage of various modules'updated_at=<Date2012-08-08.05:07:46.839>user='https://bugs.python.org/Sarbjitsingh'
For beginners who are learning Python, it would be very helpful if Python doc could provide examples on usage of various methods/attributes of different modules.
For eg: If you look at ElementTree XMl module or take any other standard module, examples which are provided are very limited making it hard for new users to learn those modules and have to search internet for its usage. Providing examples on usage of module attributes/methods will help users to quickly understand it.
If you look at ElementTree XMl module or take any other
standard module, examples which are provided are very limited
We already try to provide examples where/when appropriate, and several modules have examples showing the basic usage. Often, documenting all the methods will only make the documentation less readable, so only the most important/common functions/methods have examples. Some modules also have separate howtos that contain extensive examples.
If you think some specific module (like ElementTree) needs more examples, feel free to open specific reports.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: