Lines Matching refs:_class
139 .. class:: BytesParser(_class=None, *, policy=policy.compat32)
141 Create a :class:`BytesParser` instance. The *_class* and *policy*
151 .. versionchanged:: 3.6 *_class* defaults to the policy ``message_factory``.
186 .. class:: BytesHeaderParser(_class=None, *, policy=policy.compat32)
194 .. class:: Parser(_class=None, *, policy=policy.compat32)
200 .. versionchanged:: 3.6 *_class* defaults to the policy ``message_factory``.
224 .. class:: HeaderParser(_class=None, *, policy=policy.compat32)
237 .. function:: message_from_bytes(s, _class=None, *, policy=policy.compat32)
240 equivalent to ``BytesParser().parsebytes(s)``. Optional *_class* and
249 .. function:: message_from_binary_file(fp, _class=None, *, \
253 object`. This is equivalent to ``BytesParser().parse(fp)``. *_class* and
262 .. function:: message_from_string(s, _class=None, *, policy=policy.compat32)
265 ``Parser().parsestr(s)``. *_class* and *policy* are interpreted as
272 .. function:: message_from_file(fp, _class=None, *, policy=policy.compat32)
275 This is equivalent to ``Parser().parse(fp)``. *_class* and *policy* are
280 .. versionchanged:: 3.6 *_class* defaults to the policy ``message_factory``.