Skip to content

Use defaultdict to simplify server and channel maps #16

Description

@threedliams

defaultdict is a python datatype I wasn't familiar with when originally building this, it allows you to specify a default value that the dictionary gets initialized at to avoid having to check if a key is initialized before adding to it. This would simplify the creation of the server/channel maps a bit

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions