Skip to content

Commit

Permalink
invert the alias syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
vreuter committed May 16, 2019
1 parent 0f2cdfd commit 8c998bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions attmap/attmap_echo.py
Expand Up @@ -8,7 +8,7 @@
__all__ = ["AttMapEcho", "EchoAttMap"]


class AttMapEcho(PathExAttMap):
class EchoAttMap(PathExAttMap):
""" An AttMap that returns key/attr if it has no set value. """

def __getattr__(self, item, default=None, expand=True):
Expand Down Expand Up @@ -45,4 +45,4 @@ def _lower_type_bound(self):
return AttMapEcho


EchoAttMap = AttMapEcho
AttMapEcho = EchoAttMap

0 comments on commit 8c998bd

Please sign in to comment.