Julia: Add doctest examples to some of the stdlib string functions

Created on 22 Aug 2017  路  4Comments  路  Source: JuliaLang/julia

Scrolling through the documentation we can see that many of the string functions (especially ones involving regexes) don't have any doctest examples. Adding some would be a great way to get started if you're looking to contribute!

If the docstring mentions several possible behaviours of a function (for instance, if there's a kwarg) it's nice to provide examples for each of the described behaviours.

Hacktoberfest doc good first issue help wanted strings

Most helpful comment

I have added additional doctests in #34271

All 4 comments

Regex-related string docstrings could still use more examples.

In #24039 I have added some additional doctests for strings.

I have added additional doctests in #34271

With all the work done, probably no need to keep this open.

Was this page helpful?
0 / 5 - 0 ratings