Skip to content

Docstrings for methods should be within the method #1

@xenthy

Description

@xenthy

Example:

def square(n):
    '''Takes in a number n, returns the square of n'''
    return n**2

You can use a linter to pep8patise your code (pylint, flake8)

Metadata

Metadata

Labels

documentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions