Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Sphinx / tests / roots / test-ext-autodoc / target / wrappedfunction.py
Size: Mime:
from contextlib import contextmanager
from functools import lru_cache
from typing import Generator


@lru_cache(maxsize=None)
def slow_function(message, timeout):
    """This function is slow."""
    print(message)


@contextmanager
def feeling_good(x: int, y: int) -> Generator:
    """You'll feel better in this context!"""
    yield