utils/const.py: fix ident
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
532278b4dd
commit
a35c432671
@ -1,4 +1,4 @@
|
|||||||
# Copyright 2013 Eygene A. Ryabinkin.
|
# Copyright (C) 2013-2014 Eygene A. Ryabinkin and contributors
|
||||||
#
|
#
|
||||||
# Collection of classes that implement const-like behaviour
|
# Collection of classes that implement const-like behaviour
|
||||||
# for various objects.
|
# for various objects.
|
||||||
@ -6,11 +6,8 @@
|
|||||||
import copy
|
import copy
|
||||||
|
|
||||||
class ConstProxy(object):
|
class ConstProxy(object):
|
||||||
"""
|
"""Implements read-only access to a given object
|
||||||
Implements read-only access to a given object
|
that can be attached to each instance only once."""
|
||||||
that can be attached to each instance only once.
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.__dict__['__source'] = None
|
self.__dict__['__source'] = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user