MCPcopy Index your code
hub / github.com/RustPython/RustPython / _get_versions

Method _get_versions

Lib/gettext.py:345–347  ·  view source on GitHub ↗

Returns a tuple of major version, minor version

(self, version)

Source from the content-addressed store, hash-verified

343 VERSIONS = (0, 1)
344
345 def _get_versions(self, version):
346 """Returns a tuple of major version, minor version"""
347 return (version >> 16, version & 0xffff)
348
349 def _parse(self, fp):
350 """Override this method to support alternative .mo formats."""

Callers 1

_parseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected