INNER CODE UNIT · Python

system_version

fralau/mkdocs-macros-plugin · mkdocs_macros/context.py:213

def system_version():
    "Get the system version"
    try:
        return platform.mac_ver()[0] or platform.release()
    except (AttributeError, IndexError) as e:
        return str(e)


# for the navigation


class Files(object):
    "This helper class is needed to rebuild the navigation"

    def __init__(self, config):
        self.config = config
        self._filenames = []

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…