Skip to content

Commit

Permalink
use relative import within the package
Browse files Browse the repository at this point in the history
-> make the package more portable
  • Loading branch information
mammo0 committed Jun 2, 2021
1 parent 18c814f commit 3ee90ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions simple_classproperty/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""
This module provides a simple implementation of a class property.
"""
from simple_classproperty.classproperty_decorator import _classproperty
from simple_classproperty.classproperty_meta import _ClasspropertyMeta
from .classproperty_decorator import _classproperty
from .classproperty_meta import _ClasspropertyMeta


__all__ = ["classproperty", "ClasspropertyMeta"]
Expand Down
2 changes: 1 addition & 1 deletion simple_classproperty/classproperty_meta.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from simple_classproperty.classproperty_decorator import _classproperty as classproperty
from .classproperty_decorator import _classproperty as classproperty


class _ClasspropertyMeta(type):
Expand Down

0 comments on commit 3ee90ce

Please sign in to comment.