Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crs.py: remove @abstractmethod decorator #1018

Merged
merged 1 commit into from Jan 26, 2022
Merged

Commits on Jan 24, 2022

  1. crs.py: remove @AbstractMethod decorator

    According to the documentation for the `@abstractmethod` decorator:
    
    > Using this decorator requires that the class's metaclass is
    > ABCMeta or is derived from it.
    
    (source: https://docs.python.org/3/library/abc.html#abc.abstractmethod)
    
    Since `CustomConstructorCRS` and `CRS` are not defined as abstract
    classes, using the `@abstractmethod` decorator does not actually do
    anything and should be removed.
    hemberger committed Jan 24, 2022
    Configuration menu
    Copy the full SHA
    3be3753 View commit details
    Browse the repository at this point in the history