refcount/__init__.py
def dec(self):
        """
        Decrement reference count by 1

        If the reference count drops to 0, the release callback (if provided) will be automatically triggered.

        >>> from refcount import Refcounter
        >>> def refcount_released():
        ...     print('no more users')
        >>> ref = Refcounter(release=refcount_released)
        >>> ref.inc()
        >>> ref.dec()
        >>> ref.dec()
        no more users

        :raises UnderflowException: refcount underflow
        """
        self.sub(1)

        Decrement reference count by 1

        If the reference count drops to 0, the release callback (if provided) will be automatically triggered.

        >>> from refcount import Refcounter
        >>> def refcount_released():
        ...     print('no more users')
        >>> ref = Refcounter(release=refcount_released)
        >>> ref.inc()
        >>> ref.dec()
        >>> ref.dec()
        no more users

        :raises UnderflowException: refcount underflow
        
Decrement reference count by 1
If the reference count drops to 0, the release callback (if provided) will be automatically triggered.


Decrement reference count by 1 If the reference count drops to 0 the release callback ( if provided ) will be automatically triggered .
def dec(self):
        self.sub(1)
def dec ( self ) : self . sub ( 1 )
Decrement reference count by 1
If the reference count drops to 0, the release callback (if provided) will be automatically triggered.
Decrement reference count by 1 If the reference count drops to 0 the release callback ( if provided ) will be automatically triggered .
"""
        Decrement reference count by 1

        If the reference count drops to 0, the release callback (if provided) will be automatically triggered.

        >>> from refcount import Refcounter
        >>> def refcount_released():
        ...     print('no more users')
        >>> ref = Refcounter(release=refcount_released)
        >>> ref.inc()
        >>> ref.dec()
        >>> ref.dec()
        no more users

        :raises UnderflowException: refcount underflow
        """
None
UnderflowException
self