Skip to content

Make private functions private by adding a _ at the start #1011

@niccokunzmann

Description

@niccokunzmann

icalendar allows importing everything that is designated for the public API with from icalendar import *. Everything that is not mentioned in icalendar.__all__, is private. As such, the convention is to prefix those with _.

  • rename all private functions and methods to start with _
  • Rather create a small Pull Request several times than a big one that takes ages to merge.
  • check back about unclear functions/classes

See also:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions