vlc.memoize_parameterless

class vlc.memoize_parameterless(func)

Bases: object

Decorator. Caches a parameterless method’s return value each time it is called.

If called later with the same arguments, the cached value is returned (not reevaluated).

Adapted from https://wiki.python.org/moin/PythonDecoratorLibrary.

_cache
func