Rename LazyInitialise to make IDEs recognise it as a property

This commit is contained in:
Kristóf Tóth
2018-06-02 11:48:34 +02:00
parent d5b0bb4d32
commit edc46a8ae6
6 changed files with 10 additions and 10 deletions

View File

@ -2,4 +2,4 @@
# All Rights Reserved. See LICENSE file for details.
from .rate_limiter import RateLimiter
from .lazy_initialise import LazyInitialise
from .lazy_property import lazy_property

View File

@ -2,7 +2,7 @@
# All Rights Reserved. See LICENSE file for details.
class LazyInitialise:
class lazy_property:
"""
Decorator that replaces a function with the value
it calculates on the first call.