HEX
Server: LiteSpeed
System: Linux linux1gbr.centraldnserver.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: drdaynet (1058)
PHP: 7.2.34
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: //lib/python3.6/site-packages/acme/util.py
"""ACME utilities."""
from typing import Any
from typing import Callable
from typing import Dict
from typing import Mapping


def map_keys(dikt: Mapping[Any, Any], func: Callable[[Any], Any]) -> Dict[Any, Any]:
    """Map dictionary keys."""
    return {func(key): value for key, value in dikt.items()}