MCPcopy Index your code
hub / github.com/python/cpython / _get_versions

Method _get_versions

Lib/gettext.py:346–348  ·  view source on GitHub ↗

Returns a tuple of major version, minor version

(self, version)

Source from the content-addressed store, hash-verified

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

Callers 1

_parseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected