<commit_before>##
# .protocol.version
##
'PQ version class'
from struct import Struct
version_struct = Struct('!HH')

class Version(tuple):
	"""Version((major, minor)) -> Version

	Version serializer and parser.
	"""
	major = property(fget = lambda s: s[0])
	minor = property(fget = lambda s: s[1])

	def __new__(subtype, major_minor : '(major, minor)'):
		(major, minor) = major_minor<commit_msg>Remove string annotation (likely incomprehensible to mypy) and minor doc-string formatting.<commit_after>##
# .protocol.version
##
"""
PQ version class used by startup messages.
"""
from struct import Struct
version_struct = Struct('!HH')

class Version(tuple):
	"""
	Version((major, minor)) -> Version

	Version serializer and parser.
	"""
	major = property(fget = lambda s: s[0])
	minor = property(fget = lambda s: s[1])

	def __new__(subtype, major_minor):
		(major, minor) = major_minor
{'fraction_non_alphanumeric': 0.14543404735062007, 'fraction_numerical': 0.004509582863585118, 'mean_word_length': 5.124137931034483, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2621838', 'n_tokens_mistral': 298, 'n_tokens_neox': 279, 'n_words': 87}