#35825 closed Cleanup/optimization (invalid)
Document None return type for dateparse functions
Reported by: | Adam Johnson | Owned by: | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
This documentation section for functions in the dateparse utils module does not cover that the contained functions can return None when they fail to parse the given value (I think that applies to all of them - worth checking). Let’s add that documentation and some usage examples on the way. The examples would probably be best in Python console code blocks.
Note:
See TracTickets
for help on using tickets.
I think it does state it at the top, the 3rd bullet point?