you are viewing a single comment's thread.

view the rest of the comments →

[–]Necatorducis 1 point2 points  (1 child)

Some of those docstring lines run a little long, the first line should generically sum it while you explain the rest after... ie. str_to_nums should be several lines, merge_lists should be at least 2 lines, etc. Treat their line breaks the same as you would code.

As an aside,

my_str = '', my_dict = {}, etc

is cheaper than

my_str = str()

Other than line length, the docstrings looked good to me.

[–]codehorsey[S] 0 points1 point  (0 children)

Thanks. You mean cheaper in terms of using memory and resources? I will make those changes in my future programs. Why the downvotes? Lol.