Skip to content

remove getter functions #2

@jaraco

Description

@jaraco

(Copied from [[https://sourceforge.net/p/python-irclib/feature-requests/4/|SourceForge]])

They are horribly ugly and unpythonic.
Instead of e.g. whatever.source().xyz it should be whatever.source.xyz.
The easiest way to change this while keeping the read-only style of those properties is simply decorating all those getters with @Property and then using them like normal variables.


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions