chunk_id
stringlengths
36
36
source
stringclasses
35 values
source_url
stringlengths
0
290
upstream_license
stringclasses
1 value
document_id
stringlengths
36
36
chunk_index
int64
0
324k
retrieved_at
stringclasses
2 values
chunker_version
stringclasses
4 values
content_hash
stringlengths
15
64
content
stringlengths
50
44.7k
namespace
stringclasses
9 values
source_name
stringclasses
35 values
raw_text
stringlengths
50
44.7k
cleaned_text
stringlengths
50
44.7k
tags
stringclasses
49 values
collection_name
stringclasses
11 values
3fd31dd2-5744-49ea-87a5-cba5af15532b
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,196
supabase-export-v2
b83912a7f1289a54
.. data:: XML_ERROR_FINISHED The requested operation was made on a parser which was finished parsing input, but isn't allowed. This includes attempts to provide additional input or to stop the parser.
trusted_official_docs
CPython Docs
.. data:: XML_ERROR_FINISHED The requested operation was made on a parser which was finished parsing input, but isn't allowed. This includes attempts to provide additional input or to stop the parser.
.. data:: XML_ERROR_FINISHED The requested operation was made on a parser which was finished parsing input, but isn't allowed. This includes attempts to provide additional input or to stop the parser.
python, official-docs, cpython, P0
Local_Trusted_Corpus
42978349-840a-4ec8-8c37-b4a28d5b6b50
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,072
supabase-export-v2
5e209c4230806c26
given; if the public identifier is not given, *publicId* will be ``None``. The *context* value is opaque and should only be used as described below. For external entities to be parsed, this handler must be implemented. It is responsible for creating the sub-parser using ``ExternalEntityParserCreate(context)``, initia...
trusted_official_docs
CPython Docs
given; if the public identifier is not given, *publicId* will be ``None``. The *context* value is opaque and should only be used as described below. For external entities to be parsed, this handler must be implemented. It is responsible for creating the sub-parser using ``ExternalEntityParserCreate(context)``, initia...
given; if the public identifier is not given, *publicId* will be ``None``. The *context* value is opaque and should only be used as described below. For external entities to be parsed, this handler must be implemented. It is responsible for creating the sub-parser using ``ExternalEntityParserCreate(context)``, initia...
python, official-docs, cpython, P0
Local_Trusted_Corpus
455c849e-59f5-4d35-8d97-f921c92add8d
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,028
supabase-export-v2
8cdbfaa4eaa0909d
from the following list, and *func* must be a callable object accepting the correct number of arguments. The arguments are all strings, unless otherwise stated. .. method:: xmlparser.XmlDeclHandler(version, encoding, standalone)
trusted_official_docs
CPython Docs
from the following list, and *func* must be a callable object accepting the correct number of arguments. The arguments are all strings, unless otherwise stated. .. method:: xmlparser.XmlDeclHandler(version, encoding, standalone)
from the following list, and *func* must be a callable object accepting the correct number of arguments. The arguments are all strings, unless otherwise stated. .. method:: xmlparser.XmlDeclHandler(version, encoding, standalone)
python, official-docs, cpython, P0
Local_Trusted_Corpus
469ac08f-333d-43bc-b1b3-bf2fbe272c5b
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,036
supabase-export-v2
5322696149490485
Called once for each element type declaration. *name* is the name of the element type, and *model* is a representation of the content model. .. method:: xmlparser.AttlistDeclHandler(elname, attname, type, default, required)
trusted_official_docs
CPython Docs
Called once for each element type declaration. *name* is the name of the element type, and *model* is a representation of the content model. .. method:: xmlparser.AttlistDeclHandler(elname, attname, type, default, required)
Called once for each element type declaration. *name* is the name of the element type, and *model* is a representation of the content model. .. method:: xmlparser.AttlistDeclHandler(elname, attname, type, default, required)
python, official-docs, cpython, P0
Local_Trusted_Corpus
48d5fc98-1efa-41b0-bd30-a1d017a8a6c3
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,952
supabase-export-v2
e5a7587f94a70f44
.. method:: xmlparser.UseForeignDTD([flag]) Calling this with a true value for *flag* (the default) will cause Expat to call the :attr:`ExternalEntityRefHandler` with :const:`None` for all arguments to allow an alternate DTD to be loaded. If the document does not contain a document type declaration, the :attr:`Exter...
trusted_official_docs
CPython Docs
.. method:: xmlparser.UseForeignDTD([flag]) Calling this with a true value for *flag* (the default) will cause Expat to call the :attr:`ExternalEntityRefHandler` with :const:`None` for all arguments to allow an alternate DTD to be loaded. If the document does not contain a document type declaration, the :attr:`Exter...
.. method:: xmlparser.UseForeignDTD([flag]) Calling this with a true value for *flag* (the default) will cause Expat to call the :attr:`ExternalEntityRefHandler` with :const:`None` for all arguments to allow an alternate DTD to be loaded. If the document does not contain a document type declaration, the :attr:`Exter...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4a28380e-45b5-471d-b2cc-541336647e40
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,037
supabase-export-v2
4d8a0ae381dee607
.. method:: xmlparser.AttlistDeclHandler(elname, attname, type, default, required) Called for each declared attribute for an element type. If an attribute list declaration declares three attributes, this handler is called three times, once for each attribute. *elname* is the name of the element to which the declarat...
trusted_official_docs
CPython Docs
.. method:: xmlparser.AttlistDeclHandler(elname, attname, type, default, required) Called for each declared attribute for an element type. If an attribute list declaration declares three attributes, this handler is called three times, once for each attribute. *elname* is the name of the element to which the declarat...
.. method:: xmlparser.AttlistDeclHandler(elname, attname, type, default, required) Called for each declared attribute for an element type. If an attribute list declaration declares three attributes, this handler is called three times, once for each attribute. *elname* is the name of the element to which the declarat...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4d102b9b-cad2-4cf2-8aea-36ba3af42652
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,055
supabase-export-v2
01136822cf955315
.. method:: xmlparser.EndNamespaceDeclHandler(prefix) Called when the closing tag is reached for an element that contained a namespace declaration. This is called once for each namespace declaration on the element in the reverse of the order for which the :attr:`StartNamespaceDeclHandler` was called to indicate the ...
trusted_official_docs
CPython Docs
.. method:: xmlparser.EndNamespaceDeclHandler(prefix) Called when the closing tag is reached for an element that contained a namespace declaration. This is called once for each namespace declaration on the element in the reverse of the order for which the :attr:`StartNamespaceDeclHandler` was called to indicate the ...
.. method:: xmlparser.EndNamespaceDeclHandler(prefix) Called when the closing tag is reached for an element that contained a namespace declaration. This is called once for each namespace declaration on the element in the reverse of the order for which the :attr:`StartNamespaceDeclHandler` was called to indicate the ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4d573ba3-1d80-4f19-b931-ddcc28cfe038
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,029
supabase-export-v2
b3955c41b4146cff
.. method:: xmlparser.XmlDeclHandler(version, encoding, standalone) Called when the XML declaration is parsed. The XML declaration is the (optional) declaration of the applicable version of the XML recommendation, the encoding of the document text, and an optional "standalone" declaration. *version* and *encoding* wi...
trusted_official_docs
CPython Docs
.. method:: xmlparser.XmlDeclHandler(version, encoding, standalone) Called when the XML declaration is parsed. The XML declaration is the (optional) declaration of the applicable version of the XML recommendation, the encoding of the document text, and an optional "standalone" declaration. *version* and *encoding* wi...
.. method:: xmlparser.XmlDeclHandler(version, encoding, standalone) Called when the XML declaration is parsed. The XML declaration is the (optional) declaration of the applicable version of the XML recommendation, the encoding of the document text, and an optional "standalone" declaration. *version* and *encoding* wi...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4fca445c-1a8d-4174-92ba-48dac22feddc
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,049
supabase-export-v2
f05bfa7b6eaf594f
.. method:: xmlparser.EntityDeclHandler(entityName, is_parameter_entity, value, base, systemId, publicId, notationName) Called for all entity declarations. For parameter and internal entities, *value* will be a string giving the declared contents of the entity; this will be ``None`` for external entities. The *notati...
trusted_official_docs
CPython Docs
.. method:: xmlparser.EntityDeclHandler(entityName, is_parameter_entity, value, base, systemId, publicId, notationName) Called for all entity declarations. For parameter and internal entities, *value* will be a string giving the declared contents of the entity; this will be ``None`` for external entities. The *notati...
.. method:: xmlparser.EntityDeclHandler(entityName, is_parameter_entity, value, base, systemId, publicId, notationName) Called for all entity declarations. For parameter and internal entities, *value* will be a string giving the declared contents of the entity; this will be ``None`` for external entities. The *notati...
python, official-docs, cpython, P0
Local_Trusted_Corpus
548ba5a5-3d2d-48b5-8da6-e54a0de3edff
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,938
supabase-export-v2
da27e70987dbdb8c
.. method:: xmlparser.Parse(data[, isfinal]) Parses the contents of the string *data*, calling the appropriate handler functions to process the parsed data. *isfinal* must be true on the final call to this method; it allows the parsing of a single file in fragments, not the submission of multiple files. *data* can b...
trusted_official_docs
CPython Docs
.. method:: xmlparser.Parse(data[, isfinal]) Parses the contents of the string *data*, calling the appropriate handler functions to process the parsed data. *isfinal* must be true on the final call to this method; it allows the parsing of a single file in fragments, not the submission of multiple files. *data* can b...
.. method:: xmlparser.Parse(data[, isfinal]) Parses the contents of the string *data*, calling the appropriate handler functions to process the parsed data. *isfinal* must be true on the final call to this method; it allows the parsing of a single file in fragments, not the submission of multiple files. *data* can b...
python, official-docs, cpython, P0
Local_Trusted_Corpus
56aa55d4-8d5f-46b7-af0b-af994d38fc3a
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,174
supabase-export-v2
6530a557b70b5b29
.. data:: XML_ERROR_FEATURE_REQUIRES_XML_DTD An operation was requested that requires DTD support to be compiled in, but Expat was configured without DTD support. This should never be reported by a standard build of the :mod:`!xml.parsers.expat` module.
trusted_official_docs
CPython Docs
.. data:: XML_ERROR_FEATURE_REQUIRES_XML_DTD An operation was requested that requires DTD support to be compiled in, but Expat was configured without DTD support. This should never be reported by a standard build of the :mod:`!xml.parsers.expat` module.
.. data:: XML_ERROR_FEATURE_REQUIRES_XML_DTD An operation was requested that requires DTD support to be compiled in, but Expat was configured without DTD support. This should never be reported by a standard build of the :mod:`!xml.parsers.expat` module.
python, official-docs, cpython, P0
Local_Trusted_Corpus
590edee7-550c-409c-a647-d5e9912266b3
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,912
supabase-export-v2
3f3ba013018b6add
This module uses the :mod:`pyexpat` module to provide access to the Expat parser. Direct use of the :mod:`pyexpat` module is deprecated. This module provides one exception and one type object:
trusted_official_docs
CPython Docs
This module uses the :mod:`pyexpat` module to provide access to the Expat parser. Direct use of the :mod:`pyexpat` module is deprecated. This module provides one exception and one type object:
This module uses the :mod:`pyexpat` module to provide access to the Expat parser. Direct use of the :mod:`pyexpat` module is deprecated. This module provides one exception and one type object:
python, official-docs, cpython, P0
Local_Trusted_Corpus
59391e4f-3d18-4436-811f-f9ad0ea0e39e
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,050
supabase-export-v2
cf3cb718891f26af
for general entities (most applications only need to be concerned with general entities). This is only available starting with version 1.95.0 of the Expat library. .. method:: xmlparser.NotationDeclHandler(notationName, base, systemId, publicId)
trusted_official_docs
CPython Docs
for general entities (most applications only need to be concerned with general entities). This is only available starting with version 1.95.0 of the Expat library. .. method:: xmlparser.NotationDeclHandler(notationName, base, systemId, publicId)
for general entities (most applications only need to be concerned with general entities). This is only available starting with version 1.95.0 of the Expat library. .. method:: xmlparser.NotationDeclHandler(notationName, base, systemId, publicId)
python, official-docs, cpython, P0
Local_Trusted_Corpus
605679ca-b02f-477f-81a5-e7ac8d831ec1
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,969
supabase-export-v2
a5d279ddd6b3fcda
Parser objects usually have a protection activation threshold of 8 MiB, but the actual default value depends on the underlying Expat library. An :exc:`ExpatError` is raised if this method is called on a |xml-non-root-parser| parser. The corresponding :attr:`~ExpatError.lineno` and :attr:`~ExpatError.offset` should no...
trusted_official_docs
CPython Docs
Parser objects usually have a protection activation threshold of 8 MiB, but the actual default value depends on the underlying Expat library. An :exc:`ExpatError` is raised if this method is called on a |xml-non-root-parser| parser. The corresponding :attr:`~ExpatError.lineno` and :attr:`~ExpatError.offset` should no...
Parser objects usually have a protection activation threshold of 8 MiB, but the actual default value depends on the underlying Expat library. An :exc:`ExpatError` is raised if this method is called on a |xml-non-root-parser| parser. The corresponding :attr:`~ExpatError.lineno` and :attr:`~ExpatError.offset` should no...
python, official-docs, cpython, P0
Local_Trusted_Corpus
65efb89d-1649-401a-a8c5-bedf9649fb30
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,170
supabase-export-v2
0691da5d046b5317
.. data:: XML_ERROR_NOT_STANDALONE The parser determined that the document was not "standalone" though it declared itself to be in the XML declaration, and the :attr:`NotStandaloneHandler` was set and returned ``0``.
trusted_official_docs
CPython Docs
.. data:: XML_ERROR_NOT_STANDALONE The parser determined that the document was not "standalone" though it declared itself to be in the XML declaration, and the :attr:`NotStandaloneHandler` was set and returned ``0``.
.. data:: XML_ERROR_NOT_STANDALONE The parser determined that the document was not "standalone" though it declared itself to be in the XML declaration, and the :attr:`NotStandaloneHandler` was set and returned ``0``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
6a0b69ac-84a6-4985-8109-4b0a5793d62d
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,996
supabase-export-v2
7647811583d876c5
parser or if *max_factor* is outside the valid range. The corresponding :attr:`~ExpatError.lineno` and :attr:`~ExpatError.offset` should not be used as they may have no special meaning. :meth:`!SetAllocTrackerMaximumAmplification` has been backported to some prior releases of CPython as a security fix. Check for avail...
trusted_official_docs
CPython Docs
parser or if *max_factor* is outside the valid range. The corresponding :attr:`~ExpatError.lineno` and :attr:`~ExpatError.offset` should not be used as they may have no special meaning. :meth:`!SetAllocTrackerMaximumAmplification` has been backported to some prior releases of CPython as a security fix. Check for avail...
parser or if *max_factor* is outside the valid range. The corresponding :attr:`~ExpatError.lineno` and :attr:`~ExpatError.offset` should not be used as they may have no special meaning. :meth:`!SetAllocTrackerMaximumAmplification` has been backported to some prior releases of CPython as a security fix. Check for avail...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6cbecac2-72c1-4c6f-9973-ca7125c73a2f
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,959
supabase-export-v2
9efdaa345b4d36d7
large tokens are both wanted, calling ``SetReparseDeferralEnabled(False)`` disables reparse deferral for the current Expat parser instance, temporarily or altogether. Calling ``SetReparseDeferralEnabled(True)`` allows re-enabling reparse deferral. :meth:`!SetReparseDeferralEnabled` has been backported to some prior re...
trusted_official_docs
CPython Docs
large tokens are both wanted, calling ``SetReparseDeferralEnabled(False)`` disables reparse deferral for the current Expat parser instance, temporarily or altogether. Calling ``SetReparseDeferralEnabled(True)`` allows re-enabling reparse deferral. :meth:`!SetReparseDeferralEnabled` has been backported to some prior re...
large tokens are both wanted, calling ``SetReparseDeferralEnabled(False)`` disables reparse deferral for the current Expat parser instance, temporarily or altogether. Calling ``SetReparseDeferralEnabled(True)`` allows re-enabling reparse deferral. :meth:`!SetReparseDeferralEnabled` has been backported to some prior re...
python, official-docs, cpython, P0
Local_Trusted_Corpus
72b2afa4-78c0-4c9a-a070-1e61f5131b85
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,031
supabase-export-v2
9b9f30c982e6c697
.. method:: xmlparser.StartDoctypeDeclHandler(doctypeName, systemId, publicId, has_internal_subset) Called when Expat begins parsing the document type declaration (``<!DOCTYPE ...``). The *doctypeName* is provided exactly as presented. The *systemId* and *publicId* parameters give the system and public identifiers if...
trusted_official_docs
CPython Docs
.. method:: xmlparser.StartDoctypeDeclHandler(doctypeName, systemId, publicId, has_internal_subset) Called when Expat begins parsing the document type declaration (``<!DOCTYPE ...``). The *doctypeName* is provided exactly as presented. The *systemId* and *publicId* parameters give the system and public identifiers if...
.. method:: xmlparser.StartDoctypeDeclHandler(doctypeName, systemId, publicId, has_internal_subset) Called when Expat begins parsing the document type declaration (``<!DOCTYPE ...``). The *doctypeName* is provided exactly as presented. The *systemId* and *publicId* parameters give the system and public identifiers if...
python, official-docs, cpython, P0
Local_Trusted_Corpus
76dad3b5-ae22-4f62-95f7-09e97b866534
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,010
supabase-export-v2
be621e4411d50fd2
.. attribute:: xmlparser.specified_attributes If set to a non-zero integer, the parser will report only those attributes which were specified in the document instance and not those which were derived from attribute declarations. Applications which set this need to be especially careful to use what additional informa...
trusted_official_docs
CPython Docs
.. attribute:: xmlparser.specified_attributes If set to a non-zero integer, the parser will report only those attributes which were specified in the document instance and not those which were derived from attribute declarations. Applications which set this need to be especially careful to use what additional informa...
.. attribute:: xmlparser.specified_attributes If set to a non-zero integer, the parser will report only those attributes which were specified in the document instance and not those which were derived from attribute declarations. Applications which set this need to be especially careful to use what additional informa...
python, official-docs, cpython, P0
Local_Trusted_Corpus
7a2f368b-9990-4193-b759-780bda9d1f21
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,006
supabase-export-v2
f568988d6e65e91c
.. attribute:: xmlparser.buffer_used If :attr:`buffer_text` is enabled, the number of bytes stored in the buffer. These bytes represent UTF-8 encoded text. This attribute has no meaningful interpretation when :attr:`buffer_text` is false.
trusted_official_docs
CPython Docs
.. attribute:: xmlparser.buffer_used If :attr:`buffer_text` is enabled, the number of bytes stored in the buffer. These bytes represent UTF-8 encoded text. This attribute has no meaningful interpretation when :attr:`buffer_text` is false.
.. attribute:: xmlparser.buffer_used If :attr:`buffer_text` is enabled, the number of bytes stored in the buffer. These bytes represent UTF-8 encoded text. This attribute has no meaningful interpretation when :attr:`buffer_text` is false.
python, official-docs, cpython, P0
Local_Trusted_Corpus
7b9d3299-479c-45c7-a80f-3d47aa01bbdf
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,011
supabase-export-v2
cddcd10b6f0f03cd
needed to comply with the standards for the behavior of XML processors. By default, this attribute is false; it may be changed at any time. The following attributes contain values relating to the most recent error encountered by an :class:`xmlparser` object, and will only have correct values once a call to :meth:`Parse...
trusted_official_docs
CPython Docs
needed to comply with the standards for the behavior of XML processors. By default, this attribute is false; it may be changed at any time. The following attributes contain values relating to the most recent error encountered by an :class:`xmlparser` object, and will only have correct values once a call to :meth:`Parse...
needed to comply with the standards for the behavior of XML processors. By default, this attribute is false; it may be changed at any time. The following attributes contain values relating to the most recent error encountered by an :class:`xmlparser` object, and will only have correct values once a call to :meth:`Parse...
python, official-docs, cpython, P0
Local_Trusted_Corpus
7d68b97c-e815-4ac3-ba95-6990670c37c3
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,986
supabase-export-v2
e8cdd1dd9f8bfcfe
Sets the number of allocated bytes of dynamic memory needed to activate protection against disproportionate use of RAM. Parser objects usually have an allocation activation threshold of 64 MiB, but the actual default value depends on the underlying Expat library.
trusted_official_docs
CPython Docs
Sets the number of allocated bytes of dynamic memory needed to activate protection against disproportionate use of RAM. Parser objects usually have an allocation activation threshold of 64 MiB, but the actual default value depends on the underlying Expat library.
Sets the number of allocated bytes of dynamic memory needed to activate protection against disproportionate use of RAM. Parser objects usually have an allocation activation threshold of 64 MiB, but the actual default value depends on the underlying Expat library.
python, official-docs, cpython, P0
Local_Trusted_Corpus
7e46fb1f-7c58-4f18-81bc-758cefef7523
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,100
supabase-export-v2
b6d9cb205d9e2fb4
two fields are constants defined in the :mod:`!xml.parsers.expat.model` module. These constants can be collected in two groups: the model type group and the quantifier group. The constants in the model type group are:
trusted_official_docs
CPython Docs
two fields are constants defined in the :mod:`!xml.parsers.expat.model` module. These constants can be collected in two groups: the model type group and the quantifier group. The constants in the model type group are:
two fields are constants defined in the :mod:`!xml.parsers.expat.model` module. These constants can be collected in two groups: the model type group and the quantifier group. The constants in the model type group are:
python, official-docs, cpython, P0
Local_Trusted_Corpus
810f2e54-d0f6-4feb-800f-72c1b2467bfc
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,978
supabase-export-v2
eb844677e51b5a23
middle of parsing have been observed with small benign files in practice. In particular, the activation threshold should be carefully chosen to avoid false positives. Parser objects usually have a maximum amplification factor of 100, but the actual default value depends on the underlying Expat library.
trusted_official_docs
CPython Docs
middle of parsing have been observed with small benign files in practice. In particular, the activation threshold should be carefully chosen to avoid false positives. Parser objects usually have a maximum amplification factor of 100, but the actual default value depends on the underlying Expat library.
middle of parsing have been observed with small benign files in practice. In particular, the activation threshold should be carefully chosen to avoid false positives. Parser objects usually have a maximum amplification factor of 100, but the actual default value depends on the underlying Expat library.
python, official-docs, cpython, P0
Local_Trusted_Corpus
8505700a-9f6c-4198-a98e-924d0804849d
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,976
supabase-export-v2
e78945ae239d1dfd
Sets the maximum tolerated amplification factor for protection against `billion laughs`_ attacks. The amplification factor is calculated as ``(direct + indirect) / direct`` while parsing, where ``direct`` is the number of bytes read from the primary document in parsing and ``indirect`` is the number of bytes added b...
trusted_official_docs
CPython Docs
Sets the maximum tolerated amplification factor for protection against `billion laughs`_ attacks. The amplification factor is calculated as ``(direct + indirect) / direct`` while parsing, where ``direct`` is the number of bytes read from the primary document in parsing and ``indirect`` is the number of bytes added b...
Sets the maximum tolerated amplification factor for protection against `billion laughs`_ attacks. The amplification factor is calculated as ``(direct + indirect) / direct`` while parsing, where ``direct`` is the number of bytes read from the primary document in parsing and ``indirect`` is the number of bytes added b...
python, official-docs, cpython, P0
Local_Trusted_Corpus
89653fc0-d687-47bf-ab93-8d83b17c6a7a
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,926
supabase-export-v2
13701e9bca99109d
the name. If the namespace separator is a zero byte (``chr(0)``) then the namespace URI and the local part will be concatenated without any separator. For example, if *namespace_separator* is set to a space character (``' '``) and the following document is parsed:
trusted_official_docs
CPython Docs
the name. If the namespace separator is a zero byte (``chr(0)``) then the namespace URI and the local part will be concatenated without any separator. For example, if *namespace_separator* is set to a space character (``' '``) and the following document is parsed:
the name. If the namespace separator is a zero byte (``chr(0)``) then the namespace URI and the local part will be concatenated without any separator. For example, if *namespace_separator* is set to a space character (``' '``) and the following document is parsed:
python, official-docs, cpython, P0
Local_Trusted_Corpus
8e757004-b47f-41ea-bbb9-21f7811f289e
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,094
supabase-export-v2
ff82eaea6e661d27
The output from this program is:: Start element: parent {'id': 'top'} Start element: child1 {'name': 'paul'} Character data: 'Text goes here' End element: child1 Character data: '\n' Start element: child2 {'name': 'fred'} Character data: 'More text' End element: child2 Character data: '\n' End element: parent
trusted_official_docs
CPython Docs
The output from this program is:: Start element: parent {'id': 'top'} Start element: child1 {'name': 'paul'} Character data: 'Text goes here' End element: child1 Character data: '\n' Start element: child2 {'name': 'fred'} Character data: 'More text' End element: child2 Character data: '\n' End element: parent
The output from this program is:: Start element: parent {'id': 'top'} Start element: child1 {'name': 'paul'} Character data: 'Text goes here' End element: child1 Character data: '\n' Start element: child2 {'name': 'fred'} Character data: 'More text' End element: child2 Character data: '\n' End element: parent
python, official-docs, cpython, P0
Local_Trusted_Corpus
910cd614-8cb5-4f33-bdc3-05bd52de3f60
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,946
supabase-export-v2
979b63b748541ce0
.. method:: xmlparser.GetInputContext() Returns the input data that generated the current event as a string. The data is in the encoding of the entity which contains the text. When called while an event handler is not active, the return value is ``None``.
trusted_official_docs
CPython Docs
.. method:: xmlparser.GetInputContext() Returns the input data that generated the current event as a string. The data is in the encoding of the entity which contains the text. When called while an event handler is not active, the return value is ``None``.
.. method:: xmlparser.GetInputContext() Returns the input data that generated the current event as a string. The data is in the encoding of the entity which contains the text. When called while an event handler is not active, the return value is ``None``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
92dcad26-096c-47c7-965c-3f2a0de29259
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,004
supabase-export-v2
7afdcb4cd1e952cb
.. attribute:: xmlparser.buffer_text Setting this to true causes the :class:`xmlparser` object to buffer textual content returned by Expat to avoid multiple calls to the :meth:`CharacterDataHandler` callback whenever possible. This can improve performance substantially since Expat normally breaks character data into...
trusted_official_docs
CPython Docs
.. attribute:: xmlparser.buffer_text Setting this to true causes the :class:`xmlparser` object to buffer textual content returned by Expat to avoid multiple calls to the :meth:`CharacterDataHandler` callback whenever possible. This can improve performance substantially since Expat normally breaks character data into...
.. attribute:: xmlparser.buffer_text Setting this to true causes the :class:`xmlparser` object to buffer textual content returned by Expat to avoid multiple calls to the :meth:`CharacterDataHandler` callback whenever possible. This can improve performance substantially since Expat normally breaks character data into...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9878aa9c-6416-42f9-bc53-bf3f231dac1e
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,909
supabase-export-v2
f669f66d0ef91dfa
.. index:: single: Expat The :mod:`!xml.parsers.expat` module is a Python interface to the Expat non-validating XML parser. The module provides a single extension type, :class:`xmlparser`, that represents the current state of an XML parser. After an :class:`xmlparser` object has been created, various attributes of the ...
trusted_official_docs
CPython Docs
.. index:: single: Expat The :mod:`!xml.parsers.expat` module is a Python interface to the Expat non-validating XML parser. The module provides a single extension type, :class:`xmlparser`, that represents the current state of an XML parser. After an :class:`xmlparser` object has been created, various attributes of the ...
.. index:: single: Expat The :mod:`!xml.parsers.expat` module is a Python interface to the Expat non-validating XML parser. The module provides a single extension type, :class:`xmlparser`, that represents the current state of an XML parser. After an :class:`xmlparser` object has been created, various attributes of the ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
991723b7-f5b4-4b24-b935-05d1c63bd4cb
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,063
supabase-export-v2
fc7e50d34599870a
.. method:: xmlparser.DefaultHandler(data) Called for any characters in the XML document for which no applicable handler has been specified. This means characters that are part of a construct which could be reported, but for which no handler has been supplied.
trusted_official_docs
CPython Docs
.. method:: xmlparser.DefaultHandler(data) Called for any characters in the XML document for which no applicable handler has been specified. This means characters that are part of a construct which could be reported, but for which no handler has been supplied.
.. method:: xmlparser.DefaultHandler(data) Called for any characters in the XML document for which no applicable handler has been specified. This means characters that are part of a construct which could be reported, but for which no handler has been supplied.
python, official-docs, cpython, P0
Local_Trusted_Corpus
9cc1e12f-d44c-4c92-8929-0300b098d5d8
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,925
supabase-export-v2
12d2d57f00544e6e
through :func:`!ParserCreate` are called "root" parsers, in the sense that they do not have any parent parser attached. Non-root parsers are created by :meth:`parser.ExternalEntityParserCreate <xmlparser.ExternalEntityParserCreate>`. Expat can optionally do XML namespace processing for you, enabled by providing a valu...
trusted_official_docs
CPython Docs
through :func:`!ParserCreate` are called "root" parsers, in the sense that they do not have any parent parser attached. Non-root parsers are created by :meth:`parser.ExternalEntityParserCreate <xmlparser.ExternalEntityParserCreate>`. Expat can optionally do XML namespace processing for you, enabled by providing a valu...
through :func:`!ParserCreate` are called "root" parsers, in the sense that they do not have any parent parser attached. Non-root parsers are created by :meth:`parser.ExternalEntityParserCreate <xmlparser.ExternalEntityParserCreate>`. Expat can optionally do XML namespace processing for you, enabled by providing a valu...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9d685b20-bcb7-42c8-a717-ef7ebf21eacb
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,954
supabase-export-v2
46b64baf66fbb42c
Passing a false value for *flag* will cancel a previous call that passed a true value, but otherwise has no effect. This method can only be called before the :meth:`Parse` or :meth:`ParseFile` methods are called; calling it after either of those have been called causes :exc:`ExpatError` to be raised with the :attr:`c...
trusted_official_docs
CPython Docs
Passing a false value for *flag* will cancel a previous call that passed a true value, but otherwise has no effect. This method can only be called before the :meth:`Parse` or :meth:`ParseFile` methods are called; calling it after either of those have been called causes :exc:`ExpatError` to be raised with the :attr:`c...
Passing a false value for *flag* will cancel a previous call that passed a true value, but otherwise has no effect. This method can only be called before the :meth:`Parse` or :meth:`ParseFile` methods are called; calling it after either of those have been called causes :exc:`ExpatError` to be raised with the :attr:`c...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a898ea2f-1d96-42f9-be4a-a0afddb5b894
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,073
supabase-export-v2
c5eb24665b0b3eb8
and parsing the entity. This handler should return an integer; if it returns ``0``, the parser will raise an :const:`XML_ERROR_EXTERNAL_ENTITY_HANDLING` error, otherwise parsing will continue. If this handler is not provided, external entities are reported by the :attr:`DefaultHandler` callback, if provided.
trusted_official_docs
CPython Docs
and parsing the entity. This handler should return an integer; if it returns ``0``, the parser will raise an :const:`XML_ERROR_EXTERNAL_ENTITY_HANDLING` error, otherwise parsing will continue. If this handler is not provided, external entities are reported by the :attr:`DefaultHandler` callback, if provided.
and parsing the entity. This handler should return an integer; if it returns ``0``, the parser will raise an :const:`XML_ERROR_EXTERNAL_ENTITY_HANDLING` error, otherwise parsing will continue. If this handler is not provided, external entities are reported by the :attr:`DefaultHandler` callback, if provided.
python, official-docs, cpython, P0
Local_Trusted_Corpus
ab4c7ec4-ad05-4c22-a5c7-1f43e60681c9
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,048
supabase-export-v2
73b14b6ab7a16874
for version 1.2 of the Expat library; for more recent versions, use :attr:`EntityDeclHandler` instead. (The underlying function in the Expat library has been declared obsolete.) .. method:: xmlparser.EntityDeclHandler(entityName, is_parameter_entity, value, base, systemId, publicId, notationName)
trusted_official_docs
CPython Docs
for version 1.2 of the Expat library; for more recent versions, use :attr:`EntityDeclHandler` instead. (The underlying function in the Expat library has been declared obsolete.) .. method:: xmlparser.EntityDeclHandler(entityName, is_parameter_entity, value, base, systemId, publicId, notationName)
for version 1.2 of the Expat library; for more recent versions, use :attr:`EntityDeclHandler` instead. (The underlying function in the Expat library has been declared obsolete.) .. method:: xmlparser.EntityDeclHandler(entityName, is_parameter_entity, value, base, systemId, publicId, notationName)
python, official-docs, cpython, P0
Local_Trusted_Corpus
aef93d24-ac94-47e4-a018-110d8a36eb10
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,905
supabase-export-v2
a3803897fec2c272
.. Markup notes: Many of the attributes of the XMLParser objects are callbacks. Since signature information must be presented, these are described using the method directive. Since they are attributes which are set by client code, in-text references to these attributes should be marked using the :member: role.
trusted_official_docs
CPython Docs
.. Markup notes: Many of the attributes of the XMLParser objects are callbacks. Since signature information must be presented, these are described using the method directive. Since they are attributes which are set by client code, in-text references to these attributes should be marked using the :member: role.
.. Markup notes: Many of the attributes of the XMLParser objects are callbacks. Since signature information must be presented, these are described using the method directive. Since they are attributes which are set by client code, in-text references to these attributes should be marked using the :member: role.
python, official-docs, cpython, P0
Local_Trusted_Corpus
b07343fc-9f64-4e81-8384-852777457ff9
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,002
supabase-export-v2
8336b09689201c92
.. attribute:: xmlparser.buffer_size The size of the buffer used when :attr:`buffer_text` is true. A new buffer size can be set by assigning a new integer value to this attribute. When the size is changed, the buffer will be flushed.
trusted_official_docs
CPython Docs
.. attribute:: xmlparser.buffer_size The size of the buffer used when :attr:`buffer_text` is true. A new buffer size can be set by assigning a new integer value to this attribute. When the size is changed, the buffer will be flushed.
.. attribute:: xmlparser.buffer_size The size of the buffer used when :attr:`buffer_text` is true. A new buffer size can be set by assigning a new integer value to this attribute. When the size is changed, the buffer will be flushed.
python, official-docs, cpython, P0
Local_Trusted_Corpus
b120c082-bbfb-4d52-a97f-f7bc4c924b2e
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,068
supabase-export-v2
5d7ebc1cf5c07d1d
``0``, then the parser will raise an :const:`XML_ERROR_NOT_STANDALONE` error. If this handler is not set, no exception is raised by the parser for this condition. .. method:: xmlparser.ExternalEntityRefHandler(context, base, systemId, publicId)
trusted_official_docs
CPython Docs
``0``, then the parser will raise an :const:`XML_ERROR_NOT_STANDALONE` error. If this handler is not set, no exception is raised by the parser for this condition. .. method:: xmlparser.ExternalEntityRefHandler(context, base, systemId, publicId)
``0``, then the parser will raise an :const:`XML_ERROR_NOT_STANDALONE` error. If this handler is not set, no exception is raised by the parser for this condition. .. method:: xmlparser.ExternalEntityRefHandler(context, base, systemId, publicId)
python, official-docs, cpython, P0
Local_Trusted_Corpus
b1c4ef97-8d60-4e4b-af59-7f116ca5d14c
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,008
supabase-export-v2
47e70baf134d0b65
.. attribute:: xmlparser.ordered_attributes Setting this attribute to a non-zero integer causes the attributes to be reported as a list rather than a dictionary. The attributes are presented in the order found in the document text. For each attribute, two list entries are presented: the attribute name and the attrib...
trusted_official_docs
CPython Docs
.. attribute:: xmlparser.ordered_attributes Setting this attribute to a non-zero integer causes the attributes to be reported as a list rather than a dictionary. The attributes are presented in the order found in the document text. For each attribute, two list entries are presented: the attribute name and the attrib...
.. attribute:: xmlparser.ordered_attributes Setting this attribute to a non-zero integer causes the attributes to be reported as a list rather than a dictionary. The attributes are presented in the order found in the document text. For each attribute, two list entries are presented: the attribute name and the attrib...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b1fe7248-7c49-458c-94f3-d497f0e9b497
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,123
supabase-export-v2
9eb61f52e1c1212f
.. module:: xml.parsers.expat.errors The following constants are provided in the :mod:`!xml.parsers.expat.errors` module. These constants are useful in interpreting some of the attributes of the :exc:`ExpatError` exception objects raised when an error has occurred. Since for backwards compatibility reasons, the constan...
trusted_official_docs
CPython Docs
.. module:: xml.parsers.expat.errors The following constants are provided in the :mod:`!xml.parsers.expat.errors` module. These constants are useful in interpreting some of the attributes of the :exc:`ExpatError` exception objects raised when an error has occurred. Since for backwards compatibility reasons, the constan...
.. module:: xml.parsers.expat.errors The following constants are provided in the :mod:`!xml.parsers.expat.errors` module. These constants are useful in interpreting some of the attributes of the :exc:`ExpatError` exception objects raised when an error has occurred. Since for backwards compatibility reasons, the constan...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b2d6d691-41dc-40ca-a38f-321ac4f77f4b
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,958
supabase-export-v2
7734e0cf8365f14b
Calling ``SetReparseDeferralEnabled(False)`` has security implications, as detailed below; please make sure to understand these consequences prior to using the ``SetReparseDeferralEnabled`` method. Expat 2.6.0 introduced a security mechanism called "reparse deferral" where instead of causing denial of service through ...
trusted_official_docs
CPython Docs
Calling ``SetReparseDeferralEnabled(False)`` has security implications, as detailed below; please make sure to understand these consequences prior to using the ``SetReparseDeferralEnabled`` method. Expat 2.6.0 introduced a security mechanism called "reparse deferral" where instead of causing denial of service through ...
Calling ``SetReparseDeferralEnabled(False)`` has security implications, as detailed below; please make sure to understand these consequences prior to using the ``SetReparseDeferralEnabled`` method. Expat 2.6.0 introduced a security mechanism called "reparse deferral" where instead of causing denial of service through ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b598b92f-bdf1-478a-b344-42d16525aac4
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,099
supabase-export-v2
879ae528bf11a6cd
nested tuples. Each tuple contains four values: the type, the quantifier, the name, and a tuple of children. Children are simply additional content model descriptions. The values of the first two fields are constants defined in the :mod:`!xml.parsers.expat.model` module. These constants can be collected in two groups: ...
trusted_official_docs
CPython Docs
nested tuples. Each tuple contains four values: the type, the quantifier, the name, and a tuple of children. Children are simply additional content model descriptions. The values of the first two fields are constants defined in the :mod:`!xml.parsers.expat.model` module. These constants can be collected in two groups: ...
nested tuples. Each tuple contains four values: the type, the quantifier, the name, and a tuple of children. Children are simply additional content model descriptions. The values of the first two fields are constants defined in the :mod:`!xml.parsers.expat.model` module. These constants can be collected in two groups: ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b5ce23f1-3dea-4b5a-8cd9-cd520465a86e
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,970
supabase-export-v2
e705b77f9047fef3
if this method is called on a |xml-non-root-parser| parser. The corresponding :attr:`~ExpatError.lineno` and :attr:`~ExpatError.offset` should not be used as they may have no special meaning. :meth:`!SetBillionLaughsAttackProtectionActivationThreshold` has been backported to some prior releases of CPython as a securit...
trusted_official_docs
CPython Docs
if this method is called on a |xml-non-root-parser| parser. The corresponding :attr:`~ExpatError.lineno` and :attr:`~ExpatError.offset` should not be used as they may have no special meaning. :meth:`!SetBillionLaughsAttackProtectionActivationThreshold` has been backported to some prior releases of CPython as a securit...
if this method is called on a |xml-non-root-parser| parser. The corresponding :attr:`~ExpatError.lineno` and :attr:`~ExpatError.offset` should not be used as they may have no special meaning. :meth:`!SetBillionLaughsAttackProtectionActivationThreshold` has been backported to some prior releases of CPython as a securit...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b6ea9176-b2b1-46b4-859a-eb51c9b96f85
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,931
supabase-export-v2
869c0c9963af1c91
http://default-namespace.org/ root http://www.python.org/ns/ elem1 elem2 Due to limitations in the ``Expat`` library used by :mod:`pyexpat`, the :class:`xmlparser` instance returned can only be used to parse a single XML document. Call ``ParserCreate`` for each document to provide unique parser instances.
trusted_official_docs
CPython Docs
http://default-namespace.org/ root http://www.python.org/ns/ elem1 elem2 Due to limitations in the ``Expat`` library used by :mod:`pyexpat`, the :class:`xmlparser` instance returned can only be used to parse a single XML document. Call ``ParserCreate`` for each document to provide unique parser instances.
http://default-namespace.org/ root http://www.python.org/ns/ elem1 elem2 Due to limitations in the ``Expat`` library used by :mod:`pyexpat`, the :class:`xmlparser` instance returned can only be used to parse a single XML document. Call ``ParserCreate`` for each document to provide unique parser instances.
python, official-docs, cpython, P0
Local_Trusted_Corpus
c39b98fa-9c4b-4399-a68d-adc0dfa89342
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,977
supabase-export-v2
8db8af5d9fe16450
bytes read from the primary document in parsing and ``indirect`` is the number of bytes added by expanding entities and reading of external DTD files. The *max_factor* value must be a non-NaN :class:`float` value greater than or equal to 1.0. Peak amplifications of factor 15,000 for the entire payload and of factor 3...
trusted_official_docs
CPython Docs
bytes read from the primary document in parsing and ``indirect`` is the number of bytes added by expanding entities and reading of external DTD files. The *max_factor* value must be a non-NaN :class:`float` value greater than or equal to 1.0. Peak amplifications of factor 15,000 for the entire payload and of factor 3...
bytes read from the primary document in parsing and ``indirect`` is the number of bytes added by expanding entities and reading of external DTD files. The *max_factor* value must be a non-NaN :class:`float` value greater than or equal to 1.0. Peak amplifications of factor 15,000 for the entire payload and of factor 3...
python, official-docs, cpython, P0
Local_Trusted_Corpus
cc7de9cd-0e1b-4452-8843-c9bd57ce1442
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,111
supabase-export-v2
5b1cbe9398bbc4ae
series of models which follow one after the other are indicated with this model type. This is used for models such as ``(A, B, C)``. The constants in the quantifier group are:
trusted_official_docs
CPython Docs
series of models which follow one after the other are indicated with this model type. This is used for models such as ``(A, B, C)``. The constants in the quantifier group are:
series of models which follow one after the other are indicated with this model type. This is used for models such as ``(A, B, C)``. The constants in the quantifier group are:
python, official-docs, cpython, P0
Local_Trusted_Corpus
cddb4d11-aa80-4a03-8a08-22945d7188b7
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,030
supabase-export-v2
842a3a707361d08a
it is declared not to be standalone, or ``-1`` if the standalone clause was omitted. This is only available with Expat version 1.95.0 or newer. .. method:: xmlparser.StartDoctypeDeclHandler(doctypeName, systemId, publicId, has_internal_subset)
trusted_official_docs
CPython Docs
it is declared not to be standalone, or ``-1`` if the standalone clause was omitted. This is only available with Expat version 1.95.0 or newer. .. method:: xmlparser.StartDoctypeDeclHandler(doctypeName, systemId, publicId, has_internal_subset)
it is declared not to be standalone, or ``-1`` if the standalone clause was omitted. This is only available with Expat version 1.95.0 or newer. .. method:: xmlparser.StartDoctypeDeclHandler(doctypeName, systemId, publicId, has_internal_subset)
python, official-docs, cpython, P0
Local_Trusted_Corpus
d6f29b1f-3d51-4786-a266-0b7eaab3f487
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,214
supabase-export-v2
a08ef18288b03773
encoding string included in XML output should conform to the appropriate standards. For example, "UTF-8" is valid, but "UTF8" is not. See https://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl and https://www.iana.org/assignments/character-sets/character-sets.xhtml. .. _billion laughs: https://en.wikipedia.org/...
trusted_official_docs
CPython Docs
encoding string included in XML output should conform to the appropriate standards. For example, "UTF-8" is valid, but "UTF8" is not. See https://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl and https://www.iana.org/assignments/character-sets/character-sets.xhtml. .. _billion laughs: https://en.wikipedia.org/...
encoding string included in XML output should conform to the appropriate standards. For example, "UTF-8" is valid, but "UTF8" is not. See https://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl and https://www.iana.org/assignments/character-sets/character-sets.xhtml. .. _billion laughs: https://en.wikipedia.org/...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d82962dc-4b2d-4789-9261-6f13603b5435
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,979
supabase-export-v2
cacd790675f5fc75
Parser objects usually have a maximum amplification factor of 100, but the actual default value depends on the underlying Expat library. An :exc:`ExpatError` is raised if this method is called on a |xml-non-root-parser| parser or if *max_factor* is outside the valid range. The corresponding :attr:`~ExpatError.lineno` ...
trusted_official_docs
CPython Docs
Parser objects usually have a maximum amplification factor of 100, but the actual default value depends on the underlying Expat library. An :exc:`ExpatError` is raised if this method is called on a |xml-non-root-parser| parser or if *max_factor* is outside the valid range. The corresponding :attr:`~ExpatError.lineno` ...
Parser objects usually have a maximum amplification factor of 100, but the actual default value depends on the underlying Expat library. An :exc:`ExpatError` is raised if this method is called on a |xml-non-root-parser| parser or if *max_factor* is outside the valid range. The corresponding :attr:`~ExpatError.lineno` ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
dbff285e-6cff-49d0-844f-3212c301029a
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,993
supabase-export-v2
477d576b4740478d
number of bytes read from the primary document in parsing and ``allocated`` is the number of bytes of dynamic memory allocated in the parser hierarchy. The *max_factor* value must be a non-NaN :class:`float` value greater than or equal to 1.0. Amplification factors greater than 100.0 can be observed near the start of...
trusted_official_docs
CPython Docs
number of bytes read from the primary document in parsing and ``allocated`` is the number of bytes of dynamic memory allocated in the parser hierarchy. The *max_factor* value must be a non-NaN :class:`float` value greater than or equal to 1.0. Amplification factors greater than 100.0 can be observed near the start of...
number of bytes read from the primary document in parsing and ``allocated`` is the number of bytes of dynamic memory allocated in the parser hierarchy. The *max_factor* value must be a non-NaN :class:`float` value greater than or equal to 1.0. Amplification factors greater than 100.0 can be observed near the start of...
python, official-docs, cpython, P0
Local_Trusted_Corpus
de93d16c-c822-4b89-aab4-bfa794598c4a
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,953
supabase-export-v2
4c13dea6375348ab
If the document does not contain a document type declaration, the :attr:`ExternalEntityRefHandler` will still be called, but the :attr:`StartDoctypeDeclHandler` and :attr:`EndDoctypeDeclHandler` will not be called. Passing a false value for *flag* will cancel a previous call that passed a true value, but otherwise has...
trusted_official_docs
CPython Docs
If the document does not contain a document type declaration, the :attr:`ExternalEntityRefHandler` will still be called, but the :attr:`StartDoctypeDeclHandler` and :attr:`EndDoctypeDeclHandler` will not be called. Passing a false value for *flag* will cancel a previous call that passed a true value, but otherwise has...
If the document does not contain a document type declaration, the :attr:`ExternalEntityRefHandler` will still be called, but the :attr:`StartDoctypeDeclHandler` and :attr:`EndDoctypeDeclHandler` will not be called. Passing a false value for *flag* will cancel a previous call that passed a true value, but otherwise has...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e55905f5-f6fd-4e27-889c-b0466f124093
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,942
supabase-export-v2
d493dfc9d267855b
.. method:: xmlparser.SetBase(base) Sets the base to be used for resolving relative URIs in system identifiers in declarations. Resolving relative identifiers is left to the application: this value will be passed through as the *base* argument to the :func:`ExternalEntityRefHandler`, :func:`NotationDeclHandler`, and...
trusted_official_docs
CPython Docs
.. method:: xmlparser.SetBase(base) Sets the base to be used for resolving relative URIs in system identifiers in declarations. Resolving relative identifiers is left to the application: this value will be passed through as the *base* argument to the :func:`ExternalEntityRefHandler`, :func:`NotationDeclHandler`, and...
.. method:: xmlparser.SetBase(base) Sets the base to be used for resolving relative URIs in system identifiers in declarations. Resolving relative identifiers is left to the application: this value will be passed through as the *base* argument to the :func:`ExternalEntityRefHandler`, :func:`NotationDeclHandler`, and...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e6306c85-7a9d-44f8-a96a-51c419335b7e
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,071
supabase-export-v2
6c4a448f5ce6857c
vulnerability to `external entity attacks <https://en.wikipedia.org/wiki/XML_external_entity_attack>`_ if :class:`xmlparser` is used with user-provided XML content. Please reflect on your `threat model <https://en.wikipedia.org/wiki/Threat_model>`_ before implementing this handler. Called for references to external ent...
trusted_official_docs
CPython Docs
vulnerability to `external entity attacks <https://en.wikipedia.org/wiki/XML_external_entity_attack>`_ if :class:`xmlparser` is used with user-provided XML content. Please reflect on your `threat model <https://en.wikipedia.org/wiki/Threat_model>`_ before implementing this handler. Called for references to external ent...
vulnerability to `external entity attacks <https://en.wikipedia.org/wiki/XML_external_entity_attack>`_ if :class:`xmlparser` is used with user-provided XML content. Please reflect on your `threat model <https://en.wikipedia.org/wiki/Threat_model>`_ before implementing this handler. Called for references to external ent...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e6f1e752-cafc-493b-81de-8ad3999b6e80
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,039
supabase-export-v2
ea94d71e52637034
.. method:: xmlparser.StartElementHandler(name, attributes) Called for the start of every element. *name* is a string containing the element name, and *attributes* is the element attributes. If :attr:`ordered_attributes` is true, this is a list (see :attr:`ordered_attributes` for a full description). Otherwise it's ...
trusted_official_docs
CPython Docs
.. method:: xmlparser.StartElementHandler(name, attributes) Called for the start of every element. *name* is a string containing the element name, and *attributes* is the element attributes. If :attr:`ordered_attributes` is true, this is a list (see :attr:`ordered_attributes` for a full description). Otherwise it's ...
.. method:: xmlparser.StartElementHandler(name, attributes) Called for the start of every element. *name* is a string containing the element name, and *attributes* is the element attributes. If :attr:`ordered_attributes` is true, this is a list (see :attr:`ordered_attributes` for a full description). Otherwise it's ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
ecef0741-52d8-445c-9802-7548c091ac95
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,110
supabase-export-v2
e35596e86966a6c8
.. data:: XML_CTYPE_SEQ :noindex: Models which represent a series of models which follow one after the other are indicated with this model type. This is used for models such as ``(A, B, C)``.
trusted_official_docs
CPython Docs
.. data:: XML_CTYPE_SEQ :noindex: Models which represent a series of models which follow one after the other are indicated with this model type. This is used for models such as ``(A, B, C)``.
.. data:: XML_CTYPE_SEQ :noindex: Models which represent a series of models which follow one after the other are indicated with this model type. This is used for models such as ``(A, B, C)``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
f31a162e-a0b0-46d8-a50c-cfc88d638f12
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,988
supabase-export-v2
866321b1988ba972
if this method is called on a |xml-non-root-parser| parser. The corresponding :attr:`~ExpatError.lineno` and :attr:`~ExpatError.offset` should not be used as they may have no special meaning. :meth:`!SetAllocTrackerActivationThreshold` has been backported to some prior releases of CPython as a security fix. Check for ...
trusted_official_docs
CPython Docs
if this method is called on a |xml-non-root-parser| parser. The corresponding :attr:`~ExpatError.lineno` and :attr:`~ExpatError.offset` should not be used as they may have no special meaning. :meth:`!SetAllocTrackerActivationThreshold` has been backported to some prior releases of CPython as a security fix. Check for ...
if this method is called on a |xml-non-root-parser| parser. The corresponding :attr:`~ExpatError.lineno` and :attr:`~ExpatError.offset` should not be used as they may have no special meaning. :meth:`!SetAllocTrackerActivationThreshold` has been backported to some prior releases of CPython as a security fix. Check for ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f9c9ee14-c698-4756-8eba-db0baf1e58c1
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
45,067
supabase-export-v2
4469016d10c1b701
.. method:: xmlparser.NotStandaloneHandler() Called if the XML document hasn't been declared as being a standalone document. This happens when there is an external subset or a reference to a parameter entity, but the XML declaration does not set standalone to ``yes`` in an XML declaration. If this handler returns ``0...
trusted_official_docs
CPython Docs
.. method:: xmlparser.NotStandaloneHandler() Called if the XML document hasn't been declared as being a standalone document. This happens when there is an external subset or a reference to a parameter entity, but the XML declaration does not set standalone to ``yes`` in an XML declaration. If this handler returns ``0...
.. method:: xmlparser.NotStandaloneHandler() Called if the XML document hasn't been declared as being a standalone document. This happens when there is an external subset or a reference to a parameter entity, but the XML declaration does not set standalone to ``yes`` in an XML declaration. If this handler returns ``0...
python, official-docs, cpython, P0
Local_Trusted_Corpus
fd6faec5-57ed-4322-a044-799d9f06984d
CPython Docs
file://datasets/cpython/Doc/library/pyexpat.rst
unknown
26f8cd3a-9210-4f86-a486-04153a46d615
44,980
supabase-export-v2
de43d91fc710d061
parser or if *max_factor* is outside the valid range. The corresponding :attr:`~ExpatError.lineno` and :attr:`~ExpatError.offset` should not be used as they may have no special meaning. :meth:`!SetBillionLaughsAttackProtectionMaximumAmplification` has been backported to some prior releases of CPython as a security fix...
trusted_official_docs
CPython Docs
parser or if *max_factor* is outside the valid range. The corresponding :attr:`~ExpatError.lineno` and :attr:`~ExpatError.offset` should not be used as they may have no special meaning. :meth:`!SetBillionLaughsAttackProtectionMaximumAmplification` has been backported to some prior releases of CPython as a security fix...
parser or if *max_factor* is outside the valid range. The corresponding :attr:`~ExpatError.lineno` and :attr:`~ExpatError.offset` should not be used as they may have no special meaning. :meth:`!SetBillionLaughsAttackProtectionMaximumAmplification` has been backported to some prior releases of CPython as a security fix...
python, official-docs, cpython, P0
Local_Trusted_Corpus
02935af3-1a35-45d2-90dc-1a4ee3485234
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,263
supabase-export-v2
91e854048a28111f
.. function:: doupdate() Update the physical screen. The curses library keeps two data structures, one representing the current physical screen contents and a virtual screen representing the desired next state. The :func:`doupdate` ground updates the physical screen to match the virtual screen.
trusted_official_docs
CPython Docs
.. function:: doupdate() Update the physical screen. The curses library keeps two data structures, one representing the current physical screen contents and a virtual screen representing the desired next state. The :func:`doupdate` ground updates the physical screen to match the virtual screen.
.. function:: doupdate() Update the physical screen. The curses library keeps two data structures, one representing the current physical screen contents and a virtual screen representing the desired next state. The :func:`doupdate` ground updates the physical screen to match the virtual screen.
python, official-docs, cpython, P0
Local_Trusted_Corpus
02ab6957-16e7-4cfb-a7b6-93bafe08ba33
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,360
supabase-export-v2
b42a1ed0233c83f9
.. function:: resizeterm(nlines, ncols) Resize the standard and current windows to the specified dimensions, and adjusts other bookkeeping data used by the curses library that record the window dimensions (in particular the SIGWINCH handler).
trusted_official_docs
CPython Docs
.. function:: resizeterm(nlines, ncols) Resize the standard and current windows to the specified dimensions, and adjusts other bookkeeping data used by the curses library that record the window dimensions (in particular the SIGWINCH handler).
.. function:: resizeterm(nlines, ncols) Resize the standard and current windows to the specified dimensions, and adjusts other bookkeeping data used by the curses library that record the window dimensions (in particular the SIGWINCH handler).
python, official-docs, cpython, P0
Local_Trusted_Corpus
031b4cc5-9c41-4fe8-bb45-ac3a77e55e89
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,376
supabase-export-v2
623e1cff3efb493f
.. function:: setupterm(term=None, fd=-1) Initialize the terminal. *term* is a string giving the terminal name, or ``None``; if omitted or ``None``, the value of the :envvar:`TERM` environment variable will be used. *fd* is the file descriptor to which any initialization sequences will be sent; if not supplied or `...
trusted_official_docs
CPython Docs
.. function:: setupterm(term=None, fd=-1) Initialize the terminal. *term* is a string giving the terminal name, or ``None``; if omitted or ``None``, the value of the :envvar:`TERM` environment variable will be used. *fd* is the file descriptor to which any initialization sequences will be sent; if not supplied or `...
.. function:: setupterm(term=None, fd=-1) Initialize the terminal. *term* is a string giving the terminal name, or ``None``; if omitted or ``None``, the value of the :envvar:`TERM` environment variable will be used. *fd* is the file descriptor to which any initialization sequences will be sent; if not supplied or `...
python, official-docs, cpython, P0
Local_Trusted_Corpus
055b7e30-34ff-4c73-a39b-0640be9c6b14
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,559
supabase-export-v2
ec93cfc19814a642
.. method:: window.scrollok(flag) Control what happens when the cursor of a window is moved off the edge of the window or scrolling region, either as a result of a newline action on the bottom line, or typing the last character of the last line. If *flag* is ``False``, the cursor is left on the bottom line. If *flag...
trusted_official_docs
CPython Docs
.. method:: window.scrollok(flag) Control what happens when the cursor of a window is moved off the edge of the window or scrolling region, either as a result of a newline action on the bottom line, or typing the last character of the last line. If *flag* is ``False``, the cursor is left on the bottom line. If *flag...
.. method:: window.scrollok(flag) Control what happens when the cursor of a window is moved off the edge of the window or scrolling region, either as a result of a newline action on the bottom line, or typing the last character of the last line. If *flag* is ``False``, the cursor is left on the bottom line. If *flag...
python, official-docs, cpython, P0
Local_Trusted_Corpus
06e1cb4e-5923-46c8-ad64-a88428bbb8f0
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,241
supabase-export-v2
8f55e5d4577df388
``init_pair(x, COLOR_RED, -1)`` will initialize pair *x* as red on default background and ``init_pair(x, -1, COLOR_BLUE)`` will initialize pair *x* as default foreground on blue. * Change the definition of the color-pair ``0`` to ``(fg, bg)``.
trusted_official_docs
CPython Docs
``init_pair(x, COLOR_RED, -1)`` will initialize pair *x* as red on default background and ``init_pair(x, -1, COLOR_BLUE)`` will initialize pair *x* as default foreground on blue. * Change the definition of the color-pair ``0`` to ``(fg, bg)``.
``init_pair(x, COLOR_RED, -1)`` will initialize pair *x* as red on default background and ``init_pair(x, -1, COLOR_BLUE)`` will initialize pair *x* as default foreground on blue. * Change the definition of the color-pair ``0`` to ``(fg, bg)``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
0843e51e-4370-4721-b80a-c92b51528b81
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,378
supabase-export-v2
a592f727226fa6bc
.. function:: start_color() Must be called if the programmer wants to use colors, and before any other color manipulation routine is called. It is good practice to call this routine right after :func:`initscr`.
trusted_official_docs
CPython Docs
.. function:: start_color() Must be called if the programmer wants to use colors, and before any other color manipulation routine is called. It is good practice to call this routine right after :func:`initscr`.
.. function:: start_color() Must be called if the programmer wants to use colors, and before any other color manipulation routine is called. It is good practice to call this routine right after :func:`initscr`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
094e1eb7-66bb-4345-af24-2715d3fcea44
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,299
supabase-export-v2
0a286e264ecb75d1
on the screen immediately change to the new definition. This function is a no-op on most terminals; it is active only if :func:`can_change_color` returns ``True``. .. function:: init_pair(pair_number, fg, bg)
trusted_official_docs
CPython Docs
on the screen immediately change to the new definition. This function is a no-op on most terminals; it is active only if :func:`can_change_color` returns ``True``. .. function:: init_pair(pair_number, fg, bg)
on the screen immediately change to the new definition. This function is a no-op on most terminals; it is active only if :func:`can_change_color` returns ``True``. .. function:: init_pair(pair_number, fg, bg)
python, official-docs, cpython, P0
Local_Trusted_Corpus
0d2de80a-f71d-4a16-b3f5-a221d3ecd949
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,420
supabase-export-v2
f80a2bd9376109fa
.. method:: window.addch(ch[, attr]) window.addch(y, x, ch[, attr]) Paint character *ch* at ``(y, x)`` with attributes *attr*, overwriting any character previously painted at that location. By default, the character position and attributes are the current settings for the window object.
trusted_official_docs
CPython Docs
.. method:: window.addch(ch[, attr]) window.addch(y, x, ch[, attr]) Paint character *ch* at ``(y, x)`` with attributes *attr*, overwriting any character previously painted at that location. By default, the character position and attributes are the current settings for the window object.
.. method:: window.addch(ch[, attr]) window.addch(y, x, ch[, attr]) Paint character *ch* at ``(y, x)`` with attributes *attr*, overwriting any character previously painted at that location. By default, the character position and attributes are the current settings for the window object.
python, official-docs, cpython, P0
Local_Trusted_Corpus
0d940331-a208-4e6c-b347-70537c403427
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,621
supabase-export-v2
f57ce9a0ff2a12c4
| +-------------------------+--------------------------------------------+ | .. data:: KEY_A3 | Upper right of keypad | +-------------------------+--------------------------------------------+ | .. data:: KEY_B2 | Center of keypad | +-------------------------+--------------------------------------------+ | .. data:: KE...
trusted_official_docs
CPython Docs
| +-------------------------+--------------------------------------------+ | .. data:: KEY_A3 | Upper right of keypad | +-------------------------+--------------------------------------------+ | .. data:: KEY_B2 | Center of keypad | +-------------------------+--------------------------------------------+ | .. data:: KE...
| +-------------------------+--------------------------------------------+ | .. data:: KEY_A3 | Upper right of keypad | +-------------------------+--------------------------------------------+ | .. data:: KEY_B2 | Center of keypad | +-------------------------+--------------------------------------------+ | .. data:: KE...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0eb68cd2-3055-4de1-a289-d9369847ef7f
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,617
supabase-export-v2
54aedbd58f487198
Backspace (unreliable) | +-------------------------+--------------------------------------------+ | .. data:: KEY_F0 | Function keys. Up to 64 function keys are | | | supported. | +-------------------------+--------------------------------------------+ | .. data:: KEY_Fn | Value of function key *n* | +-----------------...
trusted_official_docs
CPython Docs
Backspace (unreliable) | +-------------------------+--------------------------------------------+ | .. data:: KEY_F0 | Function keys. Up to 64 function keys are | | | supported. | +-------------------------+--------------------------------------------+ | .. data:: KEY_Fn | Value of function key *n* | +-----------------...
Backspace (unreliable) | +-------------------------+--------------------------------------------+ | .. data:: KEY_F0 | Function keys. Up to 64 function keys are | | | supported. | +-------------------------+--------------------------------------------+ | .. data:: KEY_Fn | Value of function key *n* | +-----------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0f752d3d-17cc-4e65-bb46-a71867fe5de7
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,338
supabase-export-v2
49462c7355c1f39f
.. function:: noqiflush() When the :func:`!noqiflush` routine is used, normal flush of input and output queues associated with the ``INTR``, ``QUIT`` and ``SUSP`` characters will not be done. You may want to call :func:`!noqiflush` in a signal handler if you want output to continue as though the interrupt had not oc...
trusted_official_docs
CPython Docs
.. function:: noqiflush() When the :func:`!noqiflush` routine is used, normal flush of input and output queues associated with the ``INTR``, ``QUIT`` and ``SUSP`` characters will not be done. You may want to call :func:`!noqiflush` in a signal handler if you want output to continue as though the interrupt had not oc...
.. function:: noqiflush() When the :func:`!noqiflush` routine is used, normal flush of input and output queues associated with the ``INTR``, ``QUIT`` and ``SUSP`` characters will not be done. You may want to call :func:`!noqiflush` in a signal handler if you want output to continue as though the interrupt had not oc...
python, official-docs, cpython, P0
Local_Trusted_Corpus
10ea4a3a-d04e-4f05-9f2a-fb5d67e96556
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,442
supabase-export-v2
0b02d0256b79f80d
combined with the blank characters. The background becomes a property of the character and moves with the character through any scrolling and insert/delete line/character operations. .. method:: window.border([ls[, rs[, ts[, bs[, tl[, tr[, bl[, br]]]]]]]])
trusted_official_docs
CPython Docs
combined with the blank characters. The background becomes a property of the character and moves with the character through any scrolling and insert/delete line/character operations. .. method:: window.border([ls[, rs[, ts[, bs[, tl[, tr[, bl[, br]]]]]]]])
combined with the blank characters. The background becomes a property of the character and moves with the character through any scrolling and insert/delete line/character operations. .. method:: window.border([ls[, rs[, ts[, bs[, tl[, tr[, bl[, br]]]]]]]])
python, official-docs, cpython, P0
Local_Trusted_Corpus
11cb823b-0ee5-41d2-9a78-2593212272d5
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,326
supabase-export-v2
83d48c1f481dae99
pad region to be displayed and the *s* arguments define a clipping box on the screen within which the pad region is to be displayed. .. function:: newwin(nlines, ncols) newwin(nlines, ncols, begin_y, begin_x)
trusted_official_docs
CPython Docs
pad region to be displayed and the *s* arguments define a clipping box on the screen within which the pad region is to be displayed. .. function:: newwin(nlines, ncols) newwin(nlines, ncols, begin_y, begin_x)
pad region to be displayed and the *s* arguments define a clipping box on the screen within which the pad region is to be displayed. .. function:: newwin(nlines, ncols) newwin(nlines, ncols, begin_y, begin_x)
python, official-docs, cpython, P0
Local_Trusted_Corpus
13219875-7233-44e7-8935-6434bbcd9457
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,608
supabase-export-v2
a7c1002c7043f29b
mode | +------------------------+-------------------------------+ | .. data:: A_INVIS | Invisible or blank mode | +------------------------+-------------------------------+ | .. data:: A_ITALIC | Italic mode | +------------------------+-------------------------------+ | .. data:: A_NORMAL | Normal attribute | +--------...
trusted_official_docs
CPython Docs
mode | +------------------------+-------------------------------+ | .. data:: A_INVIS | Invisible or blank mode | +------------------------+-------------------------------+ | .. data:: A_ITALIC | Italic mode | +------------------------+-------------------------------+ | .. data:: A_NORMAL | Normal attribute | +--------...
mode | +------------------------+-------------------------------+ | .. data:: A_INVIS | Invisible or blank mode | +------------------------+-------------------------------+ | .. data:: A_ITALIC | Italic mode | +------------------------+-------------------------------+ | .. data:: A_NORMAL | Normal attribute | +--------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
173b7b55-4152-427b-9566-119a580a8180
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,346
supabase-export-v2
6fa1bc797e578844
.. function:: putp(str) Equivalent to ``tputs(str, 1, putchar)``; emit the value of a specified terminfo capability for the current terminal. Note that the output of :func:`putp` always goes to standard output.
trusted_official_docs
CPython Docs
.. function:: putp(str) Equivalent to ``tputs(str, 1, putchar)``; emit the value of a specified terminfo capability for the current terminal. Note that the output of :func:`putp` always goes to standard output.
.. function:: putp(str) Equivalent to ``tputs(str, 1, putchar)``; emit the value of a specified terminfo capability for the current terminal. Note that the output of :func:`putp` always goes to standard output.
python, official-docs, cpython, P0
Local_Trusted_Corpus
17adef79-059e-46f4-8d84-c0abcb5465e9
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,606
supabase-export-v2
100b0d8f546e02db
The height of the screen, i.e., the number of lines. It is defined only after the call to :func:`initscr`. Updated by :func:`update_lines_cols`, :func:`resizeterm` and :func:`resize_term`. Some constants are available to specify character cell attributes. The exact constants available are system dependent.
trusted_official_docs
CPython Docs
The height of the screen, i.e., the number of lines. It is defined only after the call to :func:`initscr`. Updated by :func:`update_lines_cols`, :func:`resizeterm` and :func:`resize_term`. Some constants are available to specify character cell attributes. The exact constants available are system dependent.
The height of the screen, i.e., the number of lines. It is defined only after the call to :func:`initscr`. Updated by :func:`update_lines_cols`, :func:`resizeterm` and :func:`resize_term`. Some constants are available to specify character cell attributes. The exact constants available are system dependent.
python, official-docs, cpython, P0
Local_Trusted_Corpus
1b5aefb8-7b8a-4d3b-994f-a802f4795640
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,539
supabase-export-v2
9ac03f2903c4b3c1
the data structure representing the desired state of the window, but does not force an update of the physical screen. To accomplish that, call :func:`doupdate`. .. method:: window.overlay(destwin[, sminrow, smincol, dminrow, dmincol, dmaxrow, dmaxcol])
trusted_official_docs
CPython Docs
the data structure representing the desired state of the window, but does not force an update of the physical screen. To accomplish that, call :func:`doupdate`. .. method:: window.overlay(destwin[, sminrow, smincol, dminrow, dmincol, dmaxrow, dmaxcol])
the data structure representing the desired state of the window, but does not force an update of the physical screen. To accomplish that, call :func:`doupdate`. .. method:: window.overlay(destwin[, sminrow, smincol, dminrow, dmincol, dmaxrow, dmaxcol])
python, official-docs, cpython, P0
Local_Trusted_Corpus
1c3b5da3-9505-47d6-adfa-5a96df14beac
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,236
supabase-export-v2
1925c6c9a9002070
.. note:: Whenever *x* or *y* arguments to a function or a method are optional, they default to the current cursor location. Whenever *attr* is optional, it defaults to :const:`A_NORMAL`.
trusted_official_docs
CPython Docs
.. note:: Whenever *x* or *y* arguments to a function or a method are optional, they default to the current cursor location. Whenever *attr* is optional, it defaults to :const:`A_NORMAL`.
.. note:: Whenever *x* or *y* arguments to a function or a method are optional, they default to the current cursor location. Whenever *attr* is optional, it defaults to :const:`A_NORMAL`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
1fd766ad-dfef-435b-beef-4ca147a165b8
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,449
supabase-export-v2
c8665e2674d68209
:meth:`border`, but both *ls* and *rs* are *vertch* and both *ts* and *bs* are *horch*. The default corner characters are always used by this function. .. method:: window.chgat(attr) window.chgat(num, attr) window.chgat(y, x, attr) window.chgat(y, x, num, attr)
trusted_official_docs
CPython Docs
:meth:`border`, but both *ls* and *rs* are *vertch* and both *ts* and *bs* are *horch*. The default corner characters are always used by this function. .. method:: window.chgat(attr) window.chgat(num, attr) window.chgat(y, x, attr) window.chgat(y, x, num, attr)
:meth:`border`, but both *ls* and *rs* are *vertch* and both *ts* and *bs* are *horch*. The default corner characters are always used by this function. .. method:: window.chgat(attr) window.chgat(num, attr) window.chgat(y, x, attr) window.chgat(y, x, num, attr)
python, official-docs, cpython, P0
Local_Trusted_Corpus
21384421-027f-4d3f-ace3-1982e4ac7a7a
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,664
supabase-export-v2
2a529a14430ba936
textbox is initially located at the upper left hand corner of the containing window, with coordinates ``(0, 0)``. The instance's :attr:`stripspaces` flag is initially on. :class:`Textbox` objects have the following methods:
trusted_official_docs
CPython Docs
textbox is initially located at the upper left hand corner of the containing window, with coordinates ``(0, 0)``. The instance's :attr:`stripspaces` flag is initially on. :class:`Textbox` objects have the following methods:
textbox is initially located at the upper left hand corner of the containing window, with coordinates ``(0, 0)``. The instance's :attr:`stripspaces` flag is initially on. :class:`Textbox` objects have the following methods:
python, official-docs, cpython, P0
Local_Trusted_Corpus
2238ce87-4da4-441d-89a9-33f1544c22e5
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,314
supabase-export-v2
5e3a93d689e48783
.. function:: longname() Return a bytes object containing the terminfo long name field describing the current terminal. The maximum length of a verbose description is 128 characters. It is defined only after the call to :func:`initscr`.
trusted_official_docs
CPython Docs
.. function:: longname() Return a bytes object containing the terminfo long name field describing the current terminal. The maximum length of a verbose description is 128 characters. It is defined only after the call to :func:`initscr`.
.. function:: longname() Return a bytes object containing the terminfo long name field describing the current terminal. The maximum length of a verbose description is 128 characters. It is defined only after the call to :func:`initscr`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
23364bb2-97fa-4b00-a3dc-ad28ffe508a2
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,367
supabase-export-v2
1168443f43c5e951
.. function:: set_escdelay(ms) Sets the number of milliseconds to wait after reading an escape character, to distinguish between an individual escape character entered on the keyboard from escape sequences sent by cursor and function keys.
trusted_official_docs
CPython Docs
.. function:: set_escdelay(ms) Sets the number of milliseconds to wait after reading an escape character, to distinguish between an individual escape character entered on the keyboard from escape sequences sent by cursor and function keys.
.. function:: set_escdelay(ms) Sets the number of milliseconds to wait after reading an escape character, to distinguish between an individual escape character entered on the keyboard from escape sequences sent by cursor and function keys.
python, official-docs, cpython, P0
Local_Trusted_Corpus
2533a576-b9e3-4760-827d-be72a03f7db5
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,624
supabase-export-v2
938c1cfc39ea1356
.. data:: KEY_MOVE | Move | +-------------------------+--------------------------------------------+ | .. data:: KEY_NEXT | Next | +-------------------------+--------------------------------------------+ | .. data:: KEY_OPEN | Open | +-------------------------+--------------------------------------------+ | .. data:: K...
trusted_official_docs
CPython Docs
.. data:: KEY_MOVE | Move | +-------------------------+--------------------------------------------+ | .. data:: KEY_NEXT | Next | +-------------------------+--------------------------------------------+ | .. data:: KEY_OPEN | Open | +-------------------------+--------------------------------------------+ | .. data:: K...
.. data:: KEY_MOVE | Move | +-------------------------+--------------------------------------------+ | .. data:: KEY_NEXT | Next | +-------------------------+--------------------------------------------+ | .. data:: KEY_OPEN | Open | +-------------------------+--------------------------------------------+ | .. data:: K...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2577747e-28b1-4b88-b43d-4d86f1151503
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,513
supabase-export-v2
89ca553c9695287e
.. method:: window.insstr(str[, attr]) window.insstr(y, x, str[, attr]) Insert a character string (as many characters as will fit on the line) before the character under the cursor. All characters to the right of the cursor are shifted right, with the rightmost characters on the line being lost. The cursor position ...
trusted_official_docs
CPython Docs
.. method:: window.insstr(str[, attr]) window.insstr(y, x, str[, attr]) Insert a character string (as many characters as will fit on the line) before the character under the cursor. All characters to the right of the cursor are shifted right, with the rightmost characters on the line being lost. The cursor position ...
.. method:: window.insstr(str[, attr]) window.insstr(y, x, str[, attr]) Insert a character string (as many characters as will fit on the line) before the character under the cursor. All characters to the right of the cursor are shifted right, with the rightmost characters on the line being lost. The cursor position ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
263d6bc4-aee5-4597-8d8d-69ae2df75d9f
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,615
supabase-export-v2
5a387079833f40af
.. XXX this table is far too large! should it be alphabetized? +-------------------------+--------------------------------------------+ | Key constant | Key | +=========================+============================================+ | .. data:: KEY_MIN | Minimum key value | +-------------------------+-------------------...
trusted_official_docs
CPython Docs
.. XXX this table is far too large! should it be alphabetized? +-------------------------+--------------------------------------------+ | Key constant | Key | +=========================+============================================+ | .. data:: KEY_MIN | Minimum key value | +-------------------------+-------------------...
.. XXX this table is far too large! should it be alphabetized? +-------------------------+--------------------------------------------+ | Key constant | Key | +=========================+============================================+ | .. data:: KEY_MIN | Minimum key value | +-------------------------+-------------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
26e0d211-4a9b-43f3-879f-bf2673b0c513
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,644
supabase-export-v2
d08c9478a0dd02f6
data:: ACS_SBSS | alternate name for right tee | +------------------------+------------------------------------------+ | .. data:: ACS_SSBB | alternate name for lower left corner | +------------------------+------------------------------------------+ | .. data:: ACS_SSBS | alternate name for bottom tee | +-------------...
trusted_official_docs
CPython Docs
data:: ACS_SBSS | alternate name for right tee | +------------------------+------------------------------------------+ | .. data:: ACS_SSBB | alternate name for lower left corner | +------------------------+------------------------------------------+ | .. data:: ACS_SSBS | alternate name for bottom tee | +-------------...
data:: ACS_SBSS | alternate name for right tee | +------------------------+------------------------------------------+ | .. data:: ACS_SSBB | alternate name for lower left corner | +------------------------+------------------------------------------+ | .. data:: ACS_SSBS | alternate name for bottom tee | +-------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
282a0b7f-8767-4ca2-839b-c1c0ca4af183
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,429
supabase-export-v2
b2cb82904d9f459a
to write to the lower right corner of a window, subwindow, or pad will cause an exception to be raised after the string is printed. * A `bug in ncurses <https://bugs.python.org/issue35924>`_, the backend for this Python module, can cause SegFaults when resizing windows. This is fixed in ncurses-6.1-20190511. If you a...
trusted_official_docs
CPython Docs
to write to the lower right corner of a window, subwindow, or pad will cause an exception to be raised after the string is printed. * A `bug in ncurses <https://bugs.python.org/issue35924>`_, the backend for this Python module, can cause SegFaults when resizing windows. This is fixed in ncurses-6.1-20190511. If you a...
to write to the lower right corner of a window, subwindow, or pad will cause an exception to be raised after the string is printed. * A `bug in ncurses <https://bugs.python.org/issue35924>`_, the backend for this Python module, can cause SegFaults when resizing windows. This is fixed in ncurses-6.1-20190511. If you a...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2893015a-5883-48a3-9398-0be3dd6f847b
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,249
supabase-export-v2
1aca2ed5b49cb9b3
.. function:: cbreak() Enter cbreak mode. In cbreak mode (sometimes called "rare" mode) normal tty line buffering is turned off and characters are available to be read one by one. However, unlike raw mode, special characters (interrupt, quit, suspend, and flow control) retain their effects on the tty driver and calli...
trusted_official_docs
CPython Docs
.. function:: cbreak() Enter cbreak mode. In cbreak mode (sometimes called "rare" mode) normal tty line buffering is turned off and characters are available to be read one by one. However, unlike raw mode, special characters (interrupt, quit, suspend, and flow control) retain their effects on the tty driver and calli...
.. function:: cbreak() Enter cbreak mode. In cbreak mode (sometimes called "rare" mode) normal tty line buffering is turned off and characters are available to be read one by one. However, unlike raw mode, special characters (interrupt, quit, suspend, and flow control) retain their effects on the tty driver and calli...
python, official-docs, cpython, P0
Local_Trusted_Corpus
29e69066-33c2-4146-a7dc-4b3668f1cd4f
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,620
supabase-export-v2
f5c8d423246f41ab
+-------------------------+--------------------------------------------+ | .. data:: KEY_ENTER | Enter or send (unreliable) | +-------------------------+--------------------------------------------+ | .. data:: KEY_SRESET | Soft (partial) reset (unreliable) | +-------------------------+---------------------------------...
trusted_official_docs
CPython Docs
+-------------------------+--------------------------------------------+ | .. data:: KEY_ENTER | Enter or send (unreliable) | +-------------------------+--------------------------------------------+ | .. data:: KEY_SRESET | Soft (partial) reset (unreliable) | +-------------------------+---------------------------------...
+-------------------------+--------------------------------------------+ | .. data:: KEY_ENTER | Enter or send (unreliable) | +-------------------------+--------------------------------------------+ | .. data:: KEY_SRESET | Soft (partial) reset (unreliable) | +-------------------------+---------------------------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2b705fa5-f5cb-4008-bb10-58c458436293
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,441
supabase-export-v2
bfdd9c0eafe8244e
.. method:: window.bkgdset(ch[, attr]) Set the window's background. A window's background consists of a character and any combination of attributes. The attribute part of the background is combined (OR'ed) with all non-blank characters that are written into the window. Both the character and attribute parts of the b...
trusted_official_docs
CPython Docs
.. method:: window.bkgdset(ch[, attr]) Set the window's background. A window's background consists of a character and any combination of attributes. The attribute part of the background is combined (OR'ed) with all non-blank characters that are written into the window. Both the character and attribute parts of the b...
.. method:: window.bkgdset(ch[, attr]) Set the window's background. A window's background consists of a character and any combination of attributes. The attribute part of the background is combined (OR'ed) with all non-blank characters that are written into the window. Both the character and attribute parts of the b...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2d495354-6503-4699-94da-d4d074ef08a6
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,635
supabase-export-v2
d29c816789d96ccc
.. _curses-acs-codes: The following table lists characters from the alternate character set. These are inherited from the VT100 terminal, and will generally be available on software emulations such as X terminals. When there is no graphic available, curses falls back on a crude printable ASCII approximation.
trusted_official_docs
CPython Docs
.. _curses-acs-codes: The following table lists characters from the alternate character set. These are inherited from the VT100 terminal, and will generally be available on software emulations such as X terminals. When there is no graphic available, curses falls back on a crude printable ASCII approximation.
.. _curses-acs-codes: The following table lists characters from the alternate character set. These are inherited from the VT100 terminal, and will generally be available on software emulations such as X terminals. When there is no graphic available, curses falls back on a crude printable ASCII approximation.
python, official-docs, cpython, P0
Local_Trusted_Corpus
2daf96ac-c096-45a0-b327-311fdd8e2574
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,622
supabase-export-v2
7e665ae15305fc6d
data:: KEY_BEG | Beg (beginning) | +-------------------------+--------------------------------------------+ | .. data:: KEY_CANCEL | Cancel | +-------------------------+--------------------------------------------+ | .. data:: KEY_CLOSE | Close | +-------------------------+--------------------------------------------+ ...
trusted_official_docs
CPython Docs
data:: KEY_BEG | Beg (beginning) | +-------------------------+--------------------------------------------+ | .. data:: KEY_CANCEL | Cancel | +-------------------------+--------------------------------------------+ | .. data:: KEY_CLOSE | Close | +-------------------------+--------------------------------------------+ ...
data:: KEY_BEG | Beg (beginning) | +-------------------------+--------------------------------------------+ | .. data:: KEY_CANCEL | Cancel | +-------------------------+--------------------------------------------+ | .. data:: KEY_CLOSE | Close | +-------------------------+--------------------------------------------+ ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3200b061-0030-4c56-b720-92ac6d19303e
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,415
supabase-export-v2
0b1b9ea6f251c974
.. function:: wrapper(func, /, *args, **kwargs) Initialize curses and call another callable object, *func*, which should be the rest of your curses-using application. If the application raises an exception, this function will restore the terminal to a sane state before re-raising the exception and generating a trace...
trusted_official_docs
CPython Docs
.. function:: wrapper(func, /, *args, **kwargs) Initialize curses and call another callable object, *func*, which should be the rest of your curses-using application. If the application raises an exception, this function will restore the terminal to a sane state before re-raising the exception and generating a trace...
.. function:: wrapper(func, /, *args, **kwargs) Initialize curses and call another callable object, *func*, which should be the rest of your curses-using application. If the application raises an exception, this function will restore the terminal to a sane state before re-raising the exception and generating a trace...
python, official-docs, cpython, P0
Local_Trusted_Corpus
32174f45-97bf-4707-87ed-e4f7b23ba069
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,297
supabase-export-v2
f71dfeecb84bde16
an exception if nothing has been typed. The value of *tenths* must be a number between ``1`` and ``255``. Use :func:`nocbreak` to leave half-delay mode. .. function:: init_color(color_number, r, g, b)
trusted_official_docs
CPython Docs
an exception if nothing has been typed. The value of *tenths* must be a number between ``1`` and ``255``. Use :func:`nocbreak` to leave half-delay mode. .. function:: init_color(color_number, r, g, b)
an exception if nothing has been typed. The value of *tenths* must be a number between ``1`` and ``255``. Use :func:`nocbreak` to leave half-delay mode. .. function:: init_color(color_number, r, g, b)
python, official-docs, cpython, P0
Local_Trusted_Corpus
3249d68a-b7b3-49d6-879c-642a1f3748b8
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,283
supabase-export-v2
1d8b9532587e7265
.. function:: getwin(file) Read window related data stored in the file by an earlier :func:`window.putwin` call. The routine then creates and initializes a new window using that data, returning the new window object.
trusted_official_docs
CPython Docs
.. function:: getwin(file) Read window related data stored in the file by an earlier :func:`window.putwin` call. The routine then creates and initializes a new window using that data, returning the new window object.
.. function:: getwin(file) Read window related data stored in the file by an earlier :func:`window.putwin` call. The routine then creates and initializes a new window using that data, returning the new window object.
python, official-docs, cpython, P0
Local_Trusted_Corpus
371e5478-80a6-4370-8030-c1f78aa23a42
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,638
supabase-export-v2
dba637f7888f6074
These are available only after :func:`initscr` has been called. +------------------------+------------------------------------------+ | ACS code | Meaning | +========================+==========================================+ | .. data:: ACS_BBSS | alternate name for upper right corner | +------------------------+----...
trusted_official_docs
CPython Docs
These are available only after :func:`initscr` has been called. +------------------------+------------------------------------------+ | ACS code | Meaning | +========================+==========================================+ | .. data:: ACS_BBSS | alternate name for upper right corner | +------------------------+----...
These are available only after :func:`initscr` has been called. +------------------------+------------------------------------------+ | ACS code | Meaning | +========================+==========================================+ | .. data:: ACS_BBSS | alternate name for upper right corner | +------------------------+----...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3743d9a7-b08d-434d-9fa9-b77f1bf470e7
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,438
supabase-export-v2
e129dbdfa56dc606
the background property of the window to the character *ch*, with attributes *attr*. The change is then applied to every character position in that window: * The attribute of every character in the window is changed to the new background attribute.
trusted_official_docs
CPython Docs
the background property of the window to the character *ch*, with attributes *attr*. The change is then applied to every character position in that window: * The attribute of every character in the window is changed to the new background attribute.
the background property of the window to the character *ch*, with attributes *attr*. The change is then applied to every character position in that window: * The attribute of every character in the window is changed to the new background attribute.
python, official-docs, cpython, P0
Local_Trusted_Corpus
3905a063-a943-489f-aa49-d1a7b1f942ba
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,629
supabase-export-v2
54ed415e7e454830
| Shifted Next | +-------------------------+--------------------------------------------+ | .. data:: KEY_SOPTIONS | Shifted Options | +-------------------------+--------------------------------------------+ | .. data:: KEY_SPREVIOUS | Shifted Prev | +-------------------------+------------------------------------------...
trusted_official_docs
CPython Docs
| Shifted Next | +-------------------------+--------------------------------------------+ | .. data:: KEY_SOPTIONS | Shifted Options | +-------------------------+--------------------------------------------+ | .. data:: KEY_SPREVIOUS | Shifted Prev | +-------------------------+------------------------------------------...
| Shifted Next | +-------------------------+--------------------------------------------+ | .. data:: KEY_SOPTIONS | Shifted Options | +-------------------------+--------------------------------------------+ | .. data:: KEY_SPREVIOUS | Shifted Prev | +-------------------------+------------------------------------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3ffb6f4a-6895-4f8b-bdaf-8c3312213eeb
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,257
supabase-export-v2
fe6db688b86d08ce
.. function:: def_prog_mode() Save the current terminal mode as the "program" mode, the mode when the running program is using curses. (Its counterpart is the "shell" mode, for when the program is not in curses.) Subsequent calls to :func:`reset_prog_mode` will restore this mode.
trusted_official_docs
CPython Docs
.. function:: def_prog_mode() Save the current terminal mode as the "program" mode, the mode when the running program is using curses. (Its counterpart is the "shell" mode, for when the program is not in curses.) Subsequent calls to :func:`reset_prog_mode` will restore this mode.
.. function:: def_prog_mode() Save the current terminal mode as the "program" mode, the mode when the running program is using curses. (Its counterpart is the "shell" mode, for when the program is not in curses.) Subsequent calls to :func:`reset_prog_mode` will restore this mode.
python, official-docs, cpython, P0
Local_Trusted_Corpus
489d7f49-f2b6-445e-9b0c-ad2dfbcb1708
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,320
supabase-export-v2
e79849223eb93767
.. function:: mousemask(mousemask) Set the mouse events to be reported, and return a tuple ``(availmask, oldmask)``. *availmask* indicates which of the specified mouse events can be reported; on complete failure it returns ``0``. *oldmask* is the previous value of the given window's mouse event mask. If this functio...
trusted_official_docs
CPython Docs
.. function:: mousemask(mousemask) Set the mouse events to be reported, and return a tuple ``(availmask, oldmask)``. *availmask* indicates which of the specified mouse events can be reported; on complete failure it returns ``0``. *oldmask* is the previous value of the given window's mouse event mask. If this functio...
.. function:: mousemask(mousemask) Set the mouse events to be reported, and return a tuple ``(availmask, oldmask)``. *availmask* indicates which of the specified mouse events can be reported; on complete failure it returns ``0``. *oldmask* is the previous value of the given window's mouse event mask. If this functio...
python, official-docs, cpython, P0
Local_Trusted_Corpus
492b15f1-3101-4ab4-9555-a69af6f22405
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,481
supabase-export-v2
9c595f292187f078
.. method:: window.get_wch([y, x]) Get a wide character. Return a character for most keys, or an integer for function keys, keypad keys, and other special keys. In no-delay mode, raise an exception if there is no input.
trusted_official_docs
CPython Docs
.. method:: window.get_wch([y, x]) Get a wide character. Return a character for most keys, or an integer for function keys, keypad keys, and other special keys. In no-delay mode, raise an exception if there is no input.
.. method:: window.get_wch([y, x]) Get a wide character. Return a character for most keys, or an integer for function keys, keypad keys, and other special keys. In no-delay mode, raise an exception if there is no input.
python, official-docs, cpython, P0
Local_Trusted_Corpus
4a656bc3-b823-4c97-9743-4b1493cc8ab9
CPython Docs
file://datasets/cpython/Doc/library/curses.rst
unknown
7a863399-eeb6-4f3d-9832-746e4b014c49
45,674
supabase-export-v2
f5e4908d04d20891
+--------------------------------+------------------+ | :const:`~curses.KEY_RIGHT` | :kbd:`Control-F` | +--------------------------------+------------------+ | :const:`~curses.KEY_UP` | :kbd:`Control-P` | +--------------------------------+------------------+ | :const:`~curses.KEY_DOWN` | :kbd:`Control-N` | +-----------...
trusted_official_docs
CPython Docs
+--------------------------------+------------------+ | :const:`~curses.KEY_RIGHT` | :kbd:`Control-F` | +--------------------------------+------------------+ | :const:`~curses.KEY_UP` | :kbd:`Control-P` | +--------------------------------+------------------+ | :const:`~curses.KEY_DOWN` | :kbd:`Control-N` | +-----------...
+--------------------------------+------------------+ | :const:`~curses.KEY_RIGHT` | :kbd:`Control-F` | +--------------------------------+------------------+ | :const:`~curses.KEY_UP` | :kbd:`Control-P` | +--------------------------------+------------------+ | :const:`~curses.KEY_DOWN` | :kbd:`Control-N` | +-----------...
python, official-docs, cpython, P0
Local_Trusted_Corpus