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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cf53626b-fa4c-4209-a473-32b2973d105d | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,381 | supabase-export-v2 | f9e884bef5ced837 | .. function:: termattrs()
Return a logical OR of all video attributes supported by the terminal. This
information is useful when a curses program needs complete control over the
appearance of the screen. | trusted_official_docs | CPython Docs | .. function:: termattrs()
Return a logical OR of all video attributes supported by the terminal. This
information is useful when a curses program needs complete control over the
appearance of the screen. | .. function:: termattrs()
Return a logical OR of all video attributes supported by the terminal. This
information is useful when a curses program needs complete control over the
appearance of the screen. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d11af656-0aa6-4341-9f5e-54219f5218be | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,259 | supabase-export-v2 | adf9918af26f789a | .. function:: def_shell_mode()
Save the current terminal mode as the "shell" mode, the mode when the running
program is not using curses. (Its counterpart is the "program" mode, when the
program is using curses capabilities.) Subsequent calls to
:func:`reset_shell_mode` will restore this mode. | trusted_official_docs | CPython Docs | .. function:: def_shell_mode()
Save the current terminal mode as the "shell" mode, the mode when the running
program is not using curses. (Its counterpart is the "program" mode, when the
program is using curses capabilities.) Subsequent calls to
:func:`reset_shell_mode` will restore this mode. | .. function:: def_shell_mode()
Save the current terminal mode as the "shell" mode, the mode when the running
program is not using curses. (Its counterpart is the "program" mode, when the
program is using curses capabilities.) Subsequent calls to
:func:`reset_shell_mode` will restore this mode. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d2b8f332-5b07-4c06-b3ed-b5ecd437fb74 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,625 | supabase-export-v2 | 61432604e615efb8 | data:: KEY_REFERENCE | Ref (reference) | +-------------------------+--------------------------------------------+ | .. data:: KEY_REFRESH | Refresh | +-------------------------+--------------------------------------------+ | .. data:: KEY_REPLACE | Replace | +-------------------------+----------------------------------... | trusted_official_docs | CPython Docs | data:: KEY_REFERENCE | Ref (reference) | +-------------------------+--------------------------------------------+ | .. data:: KEY_REFRESH | Refresh | +-------------------------+--------------------------------------------+ | .. data:: KEY_REPLACE | Replace | +-------------------------+----------------------------------... | data:: KEY_REFERENCE | Ref (reference) | +-------------------------+--------------------------------------------+ | .. data:: KEY_REFRESH | Refresh | +-------------------------+--------------------------------------------+ | .. data:: KEY_REPLACE | Replace | +-------------------------+----------------------------------... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d3719a0b-0b92-40b3-b974-64df1f654782 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,270 | supabase-export-v2 | 6da509622177e351 | .. function:: erasechar()
Return the user's current erase character as a one-byte bytes object. Under Unix operating systems this
is a property of the controlling tty of the curses program, and is not set by
the curses library itself. | trusted_official_docs | CPython Docs | .. function:: erasechar()
Return the user's current erase character as a one-byte bytes object. Under Unix operating systems this
is a property of the controlling tty of the curses program, and is not set by
the curses library itself. | .. function:: erasechar()
Return the user's current erase character as a one-byte bytes object. Under Unix operating systems this
is a property of the controlling tty of the curses program, and is not set by
the curses library itself. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d4183997-c370-475f-bdb2-2e4af8309a4a | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,350 | supabase-export-v2 | 4024050bf4e66d48 | .. function:: raw()
Enter raw mode. In raw mode, normal line buffering and processing of
interrupt, quit, suspend, and flow control keys are turned off; characters are
presented to curses input functions one by one. | trusted_official_docs | CPython Docs | .. function:: raw()
Enter raw mode. In raw mode, normal line buffering and processing of
interrupt, quit, suspend, and flow control keys are turned off; characters are
presented to curses input functions one by one. | .. function:: raw()
Enter raw mode. In raw mode, normal line buffering and processing of
interrupt, quit, suspend, and flow control keys are turned off; characters are
presented to curses input functions one by one. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d4c29796-fd79-47bf-965e-87f27cb1c5aa | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,279 | supabase-export-v2 | e21c1cc9480a2b4b | one or more of the following constants, where *n* is the button number from 1 to 5: :const:`BUTTONn_PRESSED`, :const:`BUTTONn_RELEASED`, :const:`BUTTONn_CLICKED`, :const:`BUTTONn_DOUBLE_CLICKED`, :const:`BUTTONn_TRIPLE_CLICKED`, :const:`BUTTON_SHIFT`, :const:`BUTTON_CTRL`, :const:`BUTTON_ALT`.
.. versionchanged:: 3.10
... | trusted_official_docs | CPython Docs | one or more of the following constants, where *n* is the button number from 1 to 5: :const:`BUTTONn_PRESSED`, :const:`BUTTONn_RELEASED`, :const:`BUTTONn_CLICKED`, :const:`BUTTONn_DOUBLE_CLICKED`, :const:`BUTTONn_TRIPLE_CLICKED`, :const:`BUTTON_SHIFT`, :const:`BUTTON_CTRL`, :const:`BUTTON_ALT`.
.. versionchanged:: 3.10
... | one or more of the following constants, where *n* is the button number from 1 to 5: :const:`BUTTONn_PRESSED`, :const:`BUTTONn_RELEASED`, :const:`BUTTONn_CLICKED`, :const:`BUTTONn_DOUBLE_CLICKED`, :const:`BUTTONn_TRIPLE_CLICKED`, :const:`BUTTON_SHIFT`, :const:`BUTTON_CTRL`, :const:`BUTTON_ALT`.
.. versionchanged:: 3.10
... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d4ea874c-e62b-45cc-8a18-81aa6212266e | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,387 | supabase-export-v2 | 42ca676ef1a05398 | .. function:: tigetnum(capname)
Return the value of the numeric capability corresponding to the terminfo
capability name *capname* as an integer. Return the value ``-2`` if *capname* is not a
numeric capability, or ``-1`` if it is canceled or absent from the terminal
description. | trusted_official_docs | CPython Docs | .. function:: tigetnum(capname)
Return the value of the numeric capability corresponding to the terminfo
capability name *capname* as an integer. Return the value ``-2`` if *capname* is not a
numeric capability, or ``-1`` if it is canceled or absent from the terminal
description. | .. function:: tigetnum(capname)
Return the value of the numeric capability corresponding to the terminfo
capability name *capname* as an integer. Return the value ``-2`` if *capname* is not a
numeric capability, or ``-1`` if it is canceled or absent from the terminal
description. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d66eec24-114b-4bd0-b2b2-1079c6bc249a | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,358 | supabase-export-v2 | 45afc198eb1166ae | .. function:: resize_term(nlines, ncols)
Backend function used by :func:`resizeterm`, performing most of the work;
when resizing the windows, :func:`resize_term` blank-fills the areas that are
extended. The calling application should fill in these areas with
appropriate data. The :func:`!resize_term` function attemp... | trusted_official_docs | CPython Docs | .. function:: resize_term(nlines, ncols)
Backend function used by :func:`resizeterm`, performing most of the work;
when resizing the windows, :func:`resize_term` blank-fills the areas that are
extended. The calling application should fill in these areas with
appropriate data. The :func:`!resize_term` function attemp... | .. function:: resize_term(nlines, ncols)
Backend function used by :func:`resizeterm`, performing most of the work;
when resizing the windows, :func:`resize_term` blank-fills the areas that are
extended. The calling application should fill in these areas with
appropriate data. The :func:`!resize_term` function attemp... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d70c4f8c-f9bc-4183-b395-16e0e3239588 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,328 | supabase-export-v2 | 2a22a21ab000f7a6 | Return a new :ref:`window <curses-window-objects>`, whose left-upper corner is at ``(begin_y, begin_x)``, and whose height/width is *nlines*/*ncols*.
By default, the window will extend from the specified position to the lower
right corner of the screen. | trusted_official_docs | CPython Docs | Return a new :ref:`window <curses-window-objects>`, whose left-upper corner is at ``(begin_y, begin_x)``, and whose height/width is *nlines*/*ncols*.
By default, the window will extend from the specified position to the lower
right corner of the screen. | Return a new :ref:`window <curses-window-objects>`, whose left-upper corner is at ``(begin_y, begin_x)``, and whose height/width is *nlines*/*ncols*.
By default, the window will extend from the specified position to the lower
right corner of the screen. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
db6ffc14-50c6-4a55-90b3-6e72251986f4 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,515 | supabase-export-v2 | e87358f57d69fb69 | .. method:: window.instr([n]) window.instr(y, x[, n])
Return a bytes object of characters, extracted from the window starting at the
current cursor position, or at *y*, *x* if specified. Attributes are stripped
from the characters. If *n* is specified, :meth:`instr` returns a string
at most *n* characters long (excl... | trusted_official_docs | CPython Docs | .. method:: window.instr([n]) window.instr(y, x[, n])
Return a bytes object of characters, extracted from the window starting at the
current cursor position, or at *y*, *x* if specified. Attributes are stripped
from the characters. If *n* is specified, :meth:`instr` returns a string
at most *n* characters long (excl... | .. method:: window.instr([n]) window.instr(y, x[, n])
Return a bytes object of characters, extracted from the window starting at the
current cursor position, or at *y*, *x* if specified. Attributes are stripped
from the characters. If *n* is specified, :meth:`instr` returns a string
at most *n* characters long (excl... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
dcd5013e-485f-412c-8d1f-4fc975cd3910 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,255 | supabase-export-v2 | ab76204e68554e88 | .. function:: curs_set(visibility)
Set the cursor state. *visibility* can be set to ``0``, ``1``, or ``2``, for invisible,
normal, or very visible. If the terminal supports the visibility requested, return the
previous cursor state; otherwise raise an exception. On many
terminals, the "visible" mode is an underline ... | trusted_official_docs | CPython Docs | .. function:: curs_set(visibility)
Set the cursor state. *visibility* can be set to ``0``, ``1``, or ``2``, for invisible,
normal, or very visible. If the terminal supports the visibility requested, return the
previous cursor state; otherwise raise an exception. On many
terminals, the "visible" mode is an underline ... | .. function:: curs_set(visibility)
Set the cursor state. *visibility* can be set to ``0``, ``1``, or ``2``, for invisible,
normal, or very visible. If the terminal supports the visibility requested, return the
previous cursor state; otherwise raise an exception. On many
terminals, the "visible" mode is an underline ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
dd97f943-6b13-41a5-bade-a34924992e6d | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,672 | supabase-export-v2 | c77aaf89219104ce | | +------------------+-------------------------------------------+ | :kbd:`Control-O` | Insert a blank line at cursor location. | +------------------+-------------------------------------------+ | :kbd:`Control-P` | Cursor up; move up one line. | +------------------+-------------------------------------------+
Move ope... | trusted_official_docs | CPython Docs | | +------------------+-------------------------------------------+ | :kbd:`Control-O` | Insert a blank line at cursor location. | +------------------+-------------------------------------------+ | :kbd:`Control-P` | Cursor up; move up one line. | +------------------+-------------------------------------------+
Move ope... | | +------------------+-------------------------------------------+ | :kbd:`Control-O` | Insert a blank line at cursor location. | +------------------+-------------------------------------------+ | :kbd:`Control-P` | Cursor up; move up one line. | +------------------+-------------------------------------------+
Move ope... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e26cf789-d2f6-4e3f-9e7b-2d63d7f7c6cd | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,518 | supabase-export-v2 | c9a454c4ff19c52f | .. method:: window.is_linetouched(line)
Return ``True`` if the specified line was modified since the last call to
:meth:`refresh`; otherwise return ``False``. Raise a :exc:`curses.error`
exception if *line* is not valid for the given window. | trusted_official_docs | CPython Docs | .. method:: window.is_linetouched(line)
Return ``True`` if the specified line was modified since the last call to
:meth:`refresh`; otherwise return ``False``. Raise a :exc:`curses.error`
exception if *line* is not valid for the given window. | .. method:: window.is_linetouched(line)
Return ``True`` if the specified line was modified since the last call to
:meth:`refresh`; otherwise return ``False``. Raise a :exc:`curses.error`
exception if *line* is not valid for the given window. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e3caceaf-396d-498f-9d0f-b3fb2e33e46b | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,540 | supabase-export-v2 | ccce88e297a980b7 | .. method:: window.overlay(destwin[, sminrow, smincol, dminrow, dmincol, dmaxrow, dmaxcol])
Overlay the window on top of *destwin*. The windows need not be the same size,
only the overlapping region is copied. This copy is non-destructive, which means
that the current background character does not overwrite the old c... | trusted_official_docs | CPython Docs | .. method:: window.overlay(destwin[, sminrow, smincol, dminrow, dmincol, dmaxrow, dmaxcol])
Overlay the window on top of *destwin*. The windows need not be the same size,
only the overlapping region is copied. This copy is non-destructive, which means
that the current background character does not overwrite the old c... | .. method:: window.overlay(destwin[, sminrow, smincol, dminrow, dmincol, dmaxrow, dmaxcol])
Overlay the window on top of *destwin*. The windows need not be the same size,
only the overlapping region is copied. This copy is non-destructive, which means
that the current background character does not overwrite the old c... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e73a66e0-1fed-425b-99b5-373c10cf4327 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,504 | supabase-export-v2 | c6cc28e4739081c8 | Return the character at the given position in the window. The bottom 8 bits are the character proper, and upper bits are the attributes.
.. method:: window.insch(ch[, attr])
window.insch(y, x, ch[, attr]) | trusted_official_docs | CPython Docs | Return the character at the given position in the window. The bottom 8 bits are the character proper, and upper bits are the attributes.
.. method:: window.insch(ch[, attr])
window.insch(y, x, ch[, attr]) | Return the character at the given position in the window. The bottom 8 bits are the character proper, and upper bits are the attributes.
.. method:: window.insch(ch[, attr])
window.insch(y, x, ch[, attr]) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e8015c2d-4d34-4c4f-8418-bf492f436337 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,572 | supabase-export-v2 | 0969e59029dfc082 | .. method:: window.syncdown()
Touch each location in the window that has been touched in any of its ancestor
windows. This routine is called by :meth:`refresh`, so it should almost never
be necessary to call it manually. | trusted_official_docs | CPython Docs | .. method:: window.syncdown()
Touch each location in the window that has been touched in any of its ancestor
windows. This routine is called by :meth:`refresh`, so it should almost never
be necessary to call it manually. | .. method:: window.syncdown()
Touch each location in the window that has been touched in any of its ancestor
windows. This routine is called by :meth:`refresh`, so it should almost never
be necessary to call it manually. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e830e213-1c2b-4a31-95cf-92b43ab28310 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,613 | supabase-export-v2 | 6c15f94ba0f8e176 | to extract a | | | character | +-------------------------+-------------------------------+ | .. data:: A_COLOR | Bit-mask to extract | | | color-pair field information | +-------------------------+-------------------------------+
Keys are referred to by integer constants with names starting with ``KEY_``. The exact key... | trusted_official_docs | CPython Docs | to extract a | | | character | +-------------------------+-------------------------------+ | .. data:: A_COLOR | Bit-mask to extract | | | color-pair field information | +-------------------------+-------------------------------+
Keys are referred to by integer constants with names starting with ``KEY_``. The exact key... | to extract a | | | character | +-------------------------+-------------------------------+ | .. data:: A_COLOR | Bit-mask to extract | | | color-pair field information | +-------------------------+-------------------------------+
Keys are referred to by integer constants with names starting with ``KEY_``. The exact key... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ea9e628a-8a22-47d9-a444-e4e89a47aa99 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,670 | supabase-export-v2 | 844b08651b77a415 | | Delete character under cursor. | +------------------+-------------------------------------------+ | :kbd:`Control-E` | Go to right edge (stripspaces off) or end | | | of line (stripspaces on).
|
+------------------+-------------------------------------------+
| :kbd:`Control-F` | Cursor right, wrapping to next line... | trusted_official_docs | CPython Docs | | Delete character under cursor. | +------------------+-------------------------------------------+ | :kbd:`Control-E` | Go to right edge (stripspaces off) or end | | | of line (stripspaces on).
|
+------------------+-------------------------------------------+
| :kbd:`Control-F` | Cursor right, wrapping to next line... | | Delete character under cursor. | +------------------+-------------------------------------------+ | :kbd:`Control-E` | Go to right edge (stripspaces off) or end | | | of line (stripspaces on).
|
+------------------+-------------------------------------------+
| :kbd:`Control-F` | Cursor right, wrapping to next line... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
eb0d9305-4830-44a8-9cb4-868571a6fd9f | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,579 | supabase-export-v2 | aad91c5f27c42860 | *delay* is positive, then :meth:`getch` will block for *delay* milliseconds, and return ``-1`` if there is still no input at the end of that time.
.. method:: window.touchline(start, count[, changed]) | trusted_official_docs | CPython Docs | *delay* is positive, then :meth:`getch` will block for *delay* milliseconds, and return ``-1`` if there is still no input at the end of that time.
.. method:: window.touchline(start, count[, changed]) | *delay* is positive, then :meth:`getch` will block for *delay* milliseconds, and return ``-1`` if there is still no input at the end of that time.
.. method:: window.touchline(start, count[, changed]) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ece482a5-c18a-4b48-b485-246a9c5c5c11 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,470 | supabase-export-v2 | 40d6f591f401d3e2 | .. method:: window.enclose(y, x)
Test whether the given pair of screen-relative character-cell coordinates are
enclosed by the given window, returning ``True`` or ``False``. It is useful for
determining what subset of the screen windows enclose the location of a mouse
event. | trusted_official_docs | CPython Docs | .. method:: window.enclose(y, x)
Test whether the given pair of screen-relative character-cell coordinates are
enclosed by the given window, returning ``True`` or ``False``. It is useful for
determining what subset of the screen windows enclose the location of a mouse
event. | .. method:: window.enclose(y, x)
Test whether the given pair of screen-relative character-cell coordinates are
enclosed by the given window, returning ``True`` or ``False``. It is useful for
determining what subset of the screen windows enclose the location of a mouse
event. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ee675b62-e435-46b2-aff3-ef45ae2009dc | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,652 | supabase-export-v2 | 3b2ad5c9057ef61c | COLOR_GREEN | Green | +-------------------------+----------------------------+ | .. data:: COLOR_MAGENTA | Magenta (purplish red) | +-------------------------+----------------------------+ | .. data:: COLOR_RED | Red | +-------------------------+----------------------------+ | ..
data:: COLOR_WHITE | White |
+---------... | trusted_official_docs | CPython Docs | COLOR_GREEN | Green | +-------------------------+----------------------------+ | .. data:: COLOR_MAGENTA | Magenta (purplish red) | +-------------------------+----------------------------+ | .. data:: COLOR_RED | Red | +-------------------------+----------------------------+ | ..
data:: COLOR_WHITE | White |
+---------... | COLOR_GREEN | Green | +-------------------------+----------------------------+ | .. data:: COLOR_MAGENTA | Magenta (purplish red) | +-------------------------+----------------------------+ | .. data:: COLOR_RED | Red | +-------------------------+----------------------------+ | ..
data:: COLOR_WHITE | White |
+---------... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
eebc54af-87ed-4809-b574-2c64966bd1bf | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,626 | supabase-export-v2 | 9efa052fbd189d0e | Shifted Beg (beginning) | +-------------------------+--------------------------------------------+ | .. data:: KEY_SCANCEL | Shifted Cancel | +-------------------------+--------------------------------------------+ | .. data:: KEY_SCOMMAND | Shifted Command | +-------------------------+---------------------------------... | trusted_official_docs | CPython Docs | Shifted Beg (beginning) | +-------------------------+--------------------------------------------+ | .. data:: KEY_SCANCEL | Shifted Cancel | +-------------------------+--------------------------------------------+ | .. data:: KEY_SCOMMAND | Shifted Command | +-------------------------+---------------------------------... | Shifted Beg (beginning) | +-------------------------+--------------------------------------------+ | .. data:: KEY_SCANCEL | Shifted Cancel | +-------------------------+--------------------------------------------+ | .. data:: KEY_SCOMMAND | Shifted Command | +-------------------------+---------------------------------... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
eef497e7-b2e8-489a-9d5c-43f417b55224 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,628 | supabase-export-v2 | 4e00c279462433b3 | | Shifted Help | +-------------------------+--------------------------------------------+ | .. data:: KEY_SHOME | Shifted Home | +-------------------------+--------------------------------------------+ | .. data:: KEY_SIC | Shifted Input | +-------------------------+--------------------------------------------+ | ..
da... | trusted_official_docs | CPython Docs | | Shifted Help | +-------------------------+--------------------------------------------+ | .. data:: KEY_SHOME | Shifted Home | +-------------------------+--------------------------------------------+ | .. data:: KEY_SIC | Shifted Input | +-------------------------+--------------------------------------------+ | ..
da... | | Shifted Help | +-------------------------+--------------------------------------------+ | .. data:: KEY_SHOME | Shifted Home | +-------------------------+--------------------------------------------+ | .. data:: KEY_SIC | Shifted Input | +-------------------------+--------------------------------------------+ | ..
da... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
efb8b81d-37ec-49d8-8919-4089cc3f872e | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,630 | supabase-export-v2 | 1c6d05d23dbf3103 | Shifted Right arrow | +-------------------------+--------------------------------------------+ | .. data:: KEY_SRSUME | Shifted Resume | +-------------------------+--------------------------------------------+ | .. data:: KEY_SSAVE | Shifted Save | +-------------------------+--------------------------------------------... | trusted_official_docs | CPython Docs | Shifted Right arrow | +-------------------------+--------------------------------------------+ | .. data:: KEY_SRSUME | Shifted Resume | +-------------------------+--------------------------------------------+ | .. data:: KEY_SSAVE | Shifted Save | +-------------------------+--------------------------------------------... | Shifted Right arrow | +-------------------------+--------------------------------------------+ | .. data:: KEY_SRSUME | Shifted Resume | +-------------------------+--------------------------------------------+ | .. data:: KEY_SSAVE | Shifted Save | +-------------------------+--------------------------------------------... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f000c014-4f2e-448f-aae4-115ae15e7991 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,658 | supabase-export-v2 | eed10e10049e25fb | .. function:: rectangle(win, uly, ulx, lry, lrx)
Draw a rectangle. The first argument must be a window object; the remaining
arguments are coordinates relative to that window. The second and third
arguments are the y and x coordinates of the upper left hand corner of the
rectangle to be drawn; the fourth and fifth a... | trusted_official_docs | CPython Docs | .. function:: rectangle(win, uly, ulx, lry, lrx)
Draw a rectangle. The first argument must be a window object; the remaining
arguments are coordinates relative to that window. The second and third
arguments are the y and x coordinates of the upper left hand corner of the
rectangle to be drawn; the fourth and fifth a... | .. function:: rectangle(win, uly, ulx, lry, lrx)
Draw a rectangle. The first argument must be a window object; the remaining
arguments are coordinates relative to that window. The second and third
arguments are the y and x coordinates of the upper left hand corner of the
rectangle to be drawn; the fourth and fifth a... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f435fb4c-d791-4a65-9cac-6d9919bbdec0 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,466 | supabase-export-v2 | e78406f07e7b2236 | .. method:: window.derwin(begin_y, begin_x) window.derwin(nlines, ncols, begin_y, begin_x)
An abbreviation for "derive window", :meth:`derwin` is the same as calling
:meth:`subwin`, except that *begin_y* and *begin_x* are relative to the origin
of the window, rather than relative to the entire screen. Return a window... | trusted_official_docs | CPython Docs | .. method:: window.derwin(begin_y, begin_x) window.derwin(nlines, ncols, begin_y, begin_x)
An abbreviation for "derive window", :meth:`derwin` is the same as calling
:meth:`subwin`, except that *begin_y* and *begin_x* are relative to the origin
of the window, rather than relative to the entire screen. Return a window... | .. method:: window.derwin(begin_y, begin_x) window.derwin(nlines, ncols, begin_y, begin_x)
An abbreviation for "derive window", :meth:`derwin` is the same as calling
:meth:`subwin`, except that *begin_y* and *begin_x* are relative to the origin
of the window, rather than relative to the entire screen. Return a window... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f6e84813-868e-48d6-b648-9f7b40f592a6 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,631 | supabase-export-v2 | 01c80407853adddb | | +-------------------------+--------------------------------------------+ | .. data:: KEY_MOUSE | Mouse event has occurred | +-------------------------+--------------------------------------------+ | .. data:: KEY_RESIZE | Terminal resize event | +-------------------------+--------------------------------------------+... | trusted_official_docs | CPython Docs | | +-------------------------+--------------------------------------------+ | .. data:: KEY_MOUSE | Mouse event has occurred | +-------------------------+--------------------------------------------+ | .. data:: KEY_RESIZE | Terminal resize event | +-------------------------+--------------------------------------------+... | | +-------------------------+--------------------------------------------+ | .. data:: KEY_MOUSE | Mouse event has occurred | +-------------------------+--------------------------------------------+ | .. data:: KEY_RESIZE | Terminal resize event | +-------------------------+--------------------------------------------+... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f79b116f-1b0b-472b-bc3a-efd475747462 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,524 | supabase-export-v2 | f8ab0786e8f6160c | .. method:: window.leaveok(flag)
If *flag* is ``True``, cursor is left where it is on update, instead of being at "cursor
position." This reduces cursor movement where possible. If possible the cursor
will be made invisible. | trusted_official_docs | CPython Docs | .. method:: window.leaveok(flag)
If *flag* is ``True``, cursor is left where it is on update, instead of being at "cursor
position." This reduces cursor movement where possible. If possible the cursor
will be made invisible. | .. method:: window.leaveok(flag)
If *flag* is ``True``, cursor is left where it is on update, instead of being at "cursor
position." This reduces cursor movement where possible. If possible the cursor
will be made invisible. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f7ecbb85-414f-4969-bd7d-cf35a5b04c63 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,501 | supabase-export-v2 | 70a01391f87c3e7a | .. method:: window.immedok(flag)
If *flag* is ``True``, any change in the window image automatically causes the
window to be refreshed; you no longer have to call :meth:`refresh` yourself. However, it may degrade performance considerably, due to repeated calls to
wrefresh. This option is disabled by default. | trusted_official_docs | CPython Docs | .. method:: window.immedok(flag)
If *flag* is ``True``, any change in the window image automatically causes the
window to be refreshed; you no longer have to call :meth:`refresh` yourself. However, it may degrade performance considerably, due to repeated calls to
wrefresh. This option is disabled by default. | .. method:: window.immedok(flag)
If *flag* is ``True``, any change in the window image automatically causes the
window to be refreshed; you no longer have to call :meth:`refresh` yourself. However, it may degrade performance considerably, due to repeated calls to
wrefresh. This option is disabled by default. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f9444252-e5fd-46d1-ab85-f86cab5d736a | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,445 | supabase-export-v2 | 16aad02c027dc073 | .. note::
A ``0`` value for any parameter will cause the default character to be used for
that parameter. Keyword parameters can *not* be used. The defaults are listed
in this table: | trusted_official_docs | CPython Docs | .. note::
A ``0`` value for any parameter will cause the default character to be used for
that parameter. Keyword parameters can *not* be used. The defaults are listed
in this table: | .. note::
A ``0`` value for any parameter will cause the default character to be used for
that parameter. Keyword parameters can *not* be used. The defaults are listed
in this table: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f9e82932-ab8a-437c-bdd7-a06854bea715 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,666 | supabase-export-v2 | f2acc66709e41649 | .. method:: edit([validator])
This is the entry point you will normally use. It accepts editing
keystrokes until one of the termination keystrokes is entered. If
*validator* is supplied, it must be a function. It will be called for
each keystroke entered with the keystroke as a parameter; command dispatch
is done o... | trusted_official_docs | CPython Docs | .. method:: edit([validator])
This is the entry point you will normally use. It accepts editing
keystrokes until one of the termination keystrokes is entered. If
*validator* is supplied, it must be a function. It will be called for
each keystroke entered with the keystroke as a parameter; command dispatch
is done o... | .. method:: edit([validator])
This is the entry point you will normally use. It accepts editing
keystrokes until one of the termination keystrokes is entered. If
*validator* is supplied, it must be a function. It will be called for
each keystroke entered with the keystroke as a parameter; command dispatch
is done o... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fca2e6da-51ab-4235-a496-938eaa728737 | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,651 | supabase-export-v2 | fbad0fb306b9048f | The following table lists the predefined colors:
+-------------------------+----------------------------+
| Constant | Color |
+=========================+============================+
| .. data:: COLOR_BLACK | Black |
+-------------------------+----------------------------+
| .. data:: COLOR_BLUE | Blue |
+------------... | trusted_official_docs | CPython Docs | The following table lists the predefined colors:
+-------------------------+----------------------------+
| Constant | Color |
+=========================+============================+
| .. data:: COLOR_BLACK | Black |
+-------------------------+----------------------------+
| .. data:: COLOR_BLUE | Blue |
+------------... | The following table lists the predefined colors:
+-------------------------+----------------------------+
| Constant | Color |
+=========================+============================+
| .. data:: COLOR_BLACK | Black |
+-------------------------+----------------------------+
| .. data:: COLOR_BLUE | Blue |
+------------... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fd4417a2-29e1-49b4-9c33-194a5a7b637b | CPython Docs | file://datasets/cpython/Doc/library/curses.rst | unknown | 7a863399-eeb6-4f3d-9832-746e4b014c49 | 45,529 | supabase-export-v2 | ddff8742e396787d | .. method:: window.mvderwin(y, x)
Move the window inside its parent window. The screen-relative parameters of
the window are not changed. This routine is used to display different parts of
the parent window at the same physical position on the screen. | trusted_official_docs | CPython Docs | .. method:: window.mvderwin(y, x)
Move the window inside its parent window. The screen-relative parameters of
the window are not changed. This routine is used to display different parts of
the parent window at the same physical position on the screen. | .. method:: window.mvderwin(y, x)
Move the window inside its parent window. The screen-relative parameters of
the window are not changed. This routine is used to display different parts of
the parent window at the same physical position on the screen. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
02ccbea8-4c18-4a4c-988c-35c866bdd36c | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,734 | supabase-export-v2 | c50af7ceb8b06756 | the shortest of quoted-printable or base64 encoding, or ``None`` for no encoding. ``SHORTEST`` is only valid for *header_enc*. The default is ``None`` for no encoding.
Optional *output_charset* is the character set that the output should be in. Conversions will proceed from input charset, to Unicode, to the output char... | trusted_official_docs | CPython Docs | the shortest of quoted-printable or base64 encoding, or ``None`` for no encoding. ``SHORTEST`` is only valid for *header_enc*. The default is ``None`` for no encoding.
Optional *output_charset* is the character set that the output should be in. Conversions will proceed from input charset, to Unicode, to the output char... | the shortest of quoted-printable or base64 encoding, or ``None`` for no encoding. ``SHORTEST`` is only valid for *header_enc*. The default is ``None`` for no encoding.
Optional *output_charset* is the character set that the output should be in. Conversions will proceed from input charset, to Unicode, to the output char... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0f5eb839-cdc8-473a-a5bc-b16b4e5b9c13 | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,722 | supabase-export-v2 | 6b0a9d1b914c3749 | The type of encoding (base64 or quoted-printable) will be based on the *body_encoding* attribute.
The :class:`Charset` class also provides a number of methods to support
standard operations and built-in functions. | trusted_official_docs | CPython Docs | The type of encoding (base64 or quoted-printable) will be based on the *body_encoding* attribute.
The :class:`Charset` class also provides a number of methods to support
standard operations and built-in functions. | The type of encoding (base64 or quoted-printable) will be based on the *body_encoding* attribute.
The :class:`Charset` class also provides a number of methods to support
standard operations and built-in functions. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
16d5441b-9ea6-46c9-986e-53324f1118bb | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,704 | supabase-export-v2 | 139eee9f0eabd8df | .. attribute:: output_codec
The name of the Python codec used to convert Unicode to the
*output_charset*. If no conversion codec is necessary, this attribute
will have the same value as the *input_codec*. | trusted_official_docs | CPython Docs | .. attribute:: output_codec
The name of the Python codec used to convert Unicode to the
*output_charset*. If no conversion codec is necessary, this attribute
will have the same value as the *input_codec*. | .. attribute:: output_codec
The name of the Python codec used to convert Unicode to the
*output_charset*. If no conversion codec is necessary, this attribute
will have the same value as the *input_codec*. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
182b0ff3-1e11-410b-94aa-b589567f17e4 | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,696 | supabase-export-v2 | 3b7cbed2784781b2 | .. attribute:: header_encoding
If the character set must be encoded before it can be used in an email
header, this attribute will be set to ``charset.QP`` (for
quoted-printable), ``charset.BASE64`` (for base64 encoding), or
``charset.SHORTEST`` for the shortest of QP or BASE64 encoding. Otherwise,
it will be ``None... | trusted_official_docs | CPython Docs | .. attribute:: header_encoding
If the character set must be encoded before it can be used in an email
header, this attribute will be set to ``charset.QP`` (for
quoted-printable), ``charset.BASE64`` (for base64 encoding), or
``charset.SHORTEST`` for the shortest of QP or BASE64 encoding. Otherwise,
it will be ``None... | .. attribute:: header_encoding
If the character set must be encoded before it can be used in an email
header, this attribute will be set to ``charset.QP`` (for
quoted-printable), ``charset.BASE64`` (for base64 encoding), or
``charset.SHORTEST`` for the shortest of QP or BASE64 encoding. Otherwise,
it will be ``None... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
435e9369-1520-4fdf-aa58-4c70f3e811f8 | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,690 | supabase-export-v2 | f9d895e0301c5b62 | character set, it will do its best to provide information on how to use that character set in an email message in an RFC-compliant way.
Certain character sets must be encoded with quoted-printable or base64 when used
in email headers or bodies. Certain character sets must be converted outright,
and are not allowed in... | trusted_official_docs | CPython Docs | character set, it will do its best to provide information on how to use that character set in an email message in an RFC-compliant way.
Certain character sets must be encoded with quoted-printable or base64 when used
in email headers or bodies. Certain character sets must be converted outright,
and are not allowed in... | character set, it will do its best to provide information on how to use that character set in an email message in an RFC-compliant way.
Certain character sets must be encoded with quoted-printable or base64 when used
in email headers or bodies. Certain character sets must be converted outright,
and are not allowed in... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4741b650-3f34-41ff-a42c-e3516e49c0de | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,685 | supabase-export-v2 | 972d72c5ceb16887 | The remaining text in this section is the original documentation of the module.
This module provides a class :class:`Charset` for representing character sets
and character set conversions in email messages, as well as a character set
registry and several convenience methods for manipulating this registry. Instances of ... | trusted_official_docs | CPython Docs | The remaining text in this section is the original documentation of the module.
This module provides a class :class:`Charset` for representing character sets
and character set conversions in email messages, as well as a character set
registry and several convenience methods for manipulating this registry. Instances of ... | The remaining text in this section is the original documentation of the module.
This module provides a class :class:`Charset` for representing character sets
and character set conversions in email messages, as well as a character set
registry and several convenience methods for manipulating this registry. Instances of ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
66e25791-2b5d-42eb-916d-80eed65f6f93 | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,709 | supabase-export-v2 | 5fd4e5d6fba7bc35 | call the function with a single argument, the Message object being encoded. The function should then set the :mailheader:`Content-Transfer-Encoding` header itself to whatever is appropriate.
Returns the string ``quoted-printable`` if *body_encoding* is ``QP``,
returns the string ``base64`` if *body_encoding* is ``BASE... | trusted_official_docs | CPython Docs | call the function with a single argument, the Message object being encoded. The function should then set the :mailheader:`Content-Transfer-Encoding` header itself to whatever is appropriate.
Returns the string ``quoted-printable`` if *body_encoding* is ``QP``,
returns the string ``base64`` if *body_encoding* is ``BASE... | call the function with a single argument, the Message object being encoded. The function should then set the :mailheader:`Content-Transfer-Encoding` header itself to whatever is appropriate.
Returns the string ``quoted-printable`` if *body_encoding* is ``QP``,
returns the string ``base64`` if *body_encoding* is ``BASE... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
67dbd415-4046-4c0c-a4fd-2f24c38a07e7 | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,736 | supabase-export-v2 | bce21bb9f6506649 | in the module's character set-to-codec mapping; use :func:`add_codec` to add codecs the module does not know about. See the :mod:`codecs` module's documentation for more information.
The global character set registry is kept in the module global dictionary
``CHARSETS``. | trusted_official_docs | CPython Docs | in the module's character set-to-codec mapping; use :func:`add_codec` to add codecs the module does not know about. See the :mod:`codecs` module's documentation for more information.
The global character set registry is kept in the module global dictionary
``CHARSETS``. | in the module's character set-to-codec mapping; use :func:`add_codec` to add codecs the module does not know about. See the :mod:`codecs` module's documentation for more information.
The global character set registry is kept in the module global dictionary
``CHARSETS``. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
76bae2b4-ca0b-49cd-a4de-2bb991dd1928 | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,686 | supabase-export-v2 | 3aaf1a290d3a29d9 | a character set registry and several convenience methods for manipulating this registry. Instances of :class:`Charset` are used in several other modules within the :mod:`email` package.
Import this class from the :mod:`!email.charset` module. | trusted_official_docs | CPython Docs | a character set registry and several convenience methods for manipulating this registry. Instances of :class:`Charset` are used in several other modules within the :mod:`email` package.
Import this class from the :mod:`!email.charset` module. | a character set registry and several convenience methods for manipulating this registry. Instances of :class:`Charset` are used in several other modules within the :mod:`email` package.
Import this class from the :mod:`!email.charset` module. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a17cdc81-155d-4dc4-bc7d-771aacd04d87 | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,718 | supabase-export-v2 | e58350b9bedeb836 | Header-encode a *string* by converting it first to bytes.
This is similar to :meth:`header_encode` except that the string is fit
into maximum line lengths as given by the argument *maxlengths*, which
must be an iterator: each element returned from this iterator will provide
the next maximum line length. | trusted_official_docs | CPython Docs | Header-encode a *string* by converting it first to bytes.
This is similar to :meth:`header_encode` except that the string is fit
into maximum line lengths as given by the argument *maxlengths*, which
must be an iterator: each element returned from this iterator will provide
the next maximum line length. | Header-encode a *string* by converting it first to bytes.
This is similar to :meth:`header_encode` except that the string is fit
into maximum line lengths as given by the argument *maxlengths*, which
must be an iterator: each element returned from this iterator will provide
the next maximum line length. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a605660d-5d6d-43a2-8b5d-61d205b4a8d9 | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,739 | supabase-export-v2 | d210ec085b34061b | Add a character set alias. *alias* is the alias name, e.g. ``latin-1``. *canonical* is the character set's canonical name, e.g. ``iso-8859-1``.
The global charset alias registry is kept in the module global dictionary
``ALIASES``. | trusted_official_docs | CPython Docs | Add a character set alias. *alias* is the alias name, e.g. ``latin-1``. *canonical* is the character set's canonical name, e.g. ``iso-8859-1``.
The global charset alias registry is kept in the module global dictionary
``ALIASES``. | Add a character set alias. *alias* is the alias name, e.g. ``latin-1``. *canonical* is the character set's canonical name, e.g. ``iso-8859-1``.
The global charset alias registry is kept in the module global dictionary
``ALIASES``. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
aa099088-c311-4107-8500-67ae5163fecc | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,708 | supabase-export-v2 | 0115feeda0c4090f | Return the content transfer encoding used for body encoding.
This is either the string ``quoted-printable`` or ``base64`` depending on
the encoding used, or it is a function, in which case you should call the
function with a single argument, the Message object being encoded. The
function should then set the :mailhea... | trusted_official_docs | CPython Docs | Return the content transfer encoding used for body encoding.
This is either the string ``quoted-printable`` or ``base64`` depending on
the encoding used, or it is a function, in which case you should call the
function with a single argument, the Message object being encoded. The
function should then set the :mailhea... | Return the content transfer encoding used for body encoding.
This is either the string ``quoted-printable`` or ``base64`` depending on
the encoding used, or it is a function, in which case you should call the
function with a single argument, the Message object being encoded. The
function should then set the :mailhea... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
bea55bf1-6768-4bef-b4f5-172a63224e46 | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,705 | supabase-export-v2 | c9ab738dff4ab89f | Python codec used to convert Unicode to the *output_charset*. If no conversion codec is necessary, this attribute will have the same value as the *input_codec*.
:class:`Charset` instances also have the following methods: | trusted_official_docs | CPython Docs | Python codec used to convert Unicode to the *output_charset*. If no conversion codec is necessary, this attribute will have the same value as the *input_codec*.
:class:`Charset` instances also have the following methods: | Python codec used to convert Unicode to the *output_charset*. If no conversion codec is necessary, this attribute will have the same value as the *input_codec*.
:class:`Charset` instances also have the following methods: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c8f370f7-d37b-4cbc-820c-859475d4da03 | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,729 | supabase-export-v2 | 45dbf3d29f4a75f0 | This method allows you to compare two :class:`Charset` instances for inequality.
The :mod:`!email.charset` module also provides the following functions for adding
new entries to the global character set, alias, and codec registries: | trusted_official_docs | CPython Docs | This method allows you to compare two :class:`Charset` instances for inequality.
The :mod:`!email.charset` module also provides the following functions for adding
new entries to the global character set, alias, and codec registries: | This method allows you to compare two :class:`Charset` instances for inequality.
The :mod:`!email.charset` module also provides the following functions for adding
new entries to the global character set, alias, and codec registries: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cf8e52df-1fb6-4df5-8b8b-66b49413cf95 | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,698 | supabase-export-v2 | 5c783cb141a295ad | .. attribute:: body_encoding
Same as *header_encoding*, but describes the encoding for the mail
message's body, which indeed may be different than the header encoding. ``charset.SHORTEST`` is not allowed for *body_encoding*. | trusted_official_docs | CPython Docs | .. attribute:: body_encoding
Same as *header_encoding*, but describes the encoding for the mail
message's body, which indeed may be different than the header encoding. ``charset.SHORTEST`` is not allowed for *body_encoding*. | .. attribute:: body_encoding
Same as *header_encoding*, but describes the encoding for the mail
message's body, which indeed may be different than the header encoding. ``charset.SHORTEST`` is not allowed for *body_encoding*. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d7ba49be-fea4-4c52-bfd8-bc4469f3168c | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,689 | supabase-export-v2 | ba937f48ec972930 | Map character sets to their email properties.
This class provides information about the requirements imposed on email for a
specific character set. It also provides convenience routines for converting
between character sets, given the availability of the applicable codecs. Given
a character set, it will do its best ... | trusted_official_docs | CPython Docs | Map character sets to their email properties.
This class provides information about the requirements imposed on email for a
specific character set. It also provides convenience routines for converting
between character sets, given the availability of the applicable codecs. Given
a character set, it will do its best ... | Map character sets to their email properties.
This class provides information about the requirements imposed on email for a
specific character set. It also provides convenience routines for converting
between character sets, given the availability of the applicable codecs. Given
a character set, it will do its best ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
dbddc4c5-65f9-4312-bb29-24539f484f03 | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,691 | supabase-export-v2 | ae423fedb17078a6 | encoded with quoted-printable or base64 when used in email headers or bodies. Certain character sets must be converted outright, and are not allowed in email.
Optional *input_charset* is as described below; it is always coerced to lower
case. After being alias normalized it is also used as a lookup into the
registry ... | trusted_official_docs | CPython Docs | encoded with quoted-printable or base64 when used in email headers or bodies. Certain character sets must be converted outright, and are not allowed in email.
Optional *input_charset* is as described below; it is always coerced to lower
case. After being alias normalized it is also used as a lookup into the
registry ... | encoded with quoted-printable or base64 when used in email headers or bodies. Certain character sets must be converted outright, and are not allowed in email.
Optional *input_charset* is as described below; it is always coerced to lower
case. After being alias normalized it is also used as a lookup into the
registry ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e679b7e6-8d4b-429f-bd07-4cfbd49540ee | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,700 | supabase-export-v2 | 6e722e6da4ffc93c | .. attribute:: output_charset
Some character sets must be converted before they can be used in email
headers or bodies. If the *input_charset* is one of them, this attribute
will contain the name of the character set output will be converted to. Otherwise, it will be ``None``. | trusted_official_docs | CPython Docs | .. attribute:: output_charset
Some character sets must be converted before they can be used in email
headers or bodies. If the *input_charset* is one of them, this attribute
will contain the name of the character set output will be converted to. Otherwise, it will be ``None``. | .. attribute:: output_charset
Some character sets must be converted before they can be used in email
headers or bodies. If the *input_charset* is one of them, this attribute
will contain the name of the character set output will be converted to. Otherwise, it will be ``None``. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f4de234a-74b3-4070-bf32-20330a5f5b60 | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,742 | supabase-export-v2 | 0560a8dc6e4adc20 | Add a codec that map characters in the given character set to and from Unicode.
*charset* is the canonical name of a character set. *codecname* is the name of a
Python codec, as appropriate for the second argument to the :class:`str`'s
:meth:`~str.encode` method. | trusted_official_docs | CPython Docs | Add a codec that map characters in the given character set to and from Unicode.
*charset* is the canonical name of a character set. *codecname* is the name of a
Python codec, as appropriate for the second argument to the :class:`str`'s
:meth:`~str.encode` method. | Add a codec that map characters in the given character set to and from Unicode.
*charset* is the canonical name of a character set. *codecname* is the name of a
Python codec, as appropriate for the second argument to the :class:`str`'s
:meth:`~str.encode` method. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f5539fcb-5ecb-4698-9855-d20cd236d02a | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,735 | supabase-export-v2 | 48a26d0f6f5e5039 | to Unicode, to the output charset when the method :meth:`Charset.convert` is called. The default is to output in the same character set as the input.
Both *input_charset* and *output_charset* must have Unicode codec entries in the
module's character set-to-codec mapping; use :func:`add_codec` to add codecs the
module... | trusted_official_docs | CPython Docs | to Unicode, to the output charset when the method :meth:`Charset.convert` is called. The default is to output in the same character set as the input.
Both *input_charset* and *output_charset* must have Unicode codec entries in the
module's character set-to-codec mapping; use :func:`add_codec` to add codecs the
module... | to Unicode, to the output charset when the method :meth:`Charset.convert` is called. The default is to output in the same character set as the input.
Both *input_charset* and *output_charset* must have Unicode codec entries in the
module's character set-to-codec mapping; use :func:`add_codec` to add codecs the
module... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f96b2303-20f9-406d-9d6c-f2edd0a2ca92 | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,684 | supabase-export-v2 | d714cbe47c396bae | This module is part of the legacy (``Compat32``) email API. In the new API only the aliases table is used.
The remaining text in this section is the original documentation of the module. | trusted_official_docs | CPython Docs | This module is part of the legacy (``Compat32``) email API. In the new API only the aliases table is used.
The remaining text in this section is the original documentation of the module. | This module is part of the legacy (``Compat32``) email API. In the new API only the aliases table is used.
The remaining text in this section is the original documentation of the module. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f9aa0332-50ed-4141-b2fd-954f5accfbc3 | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,733 | supabase-export-v2 | 3e28857b29a905e5 | *charset* is the input character set, and must be the canonical name of a character set.
Optional *header_enc* and *body_enc* is either ``charset.QP`` for
quoted-printable, ``charset.BASE64`` for base64 encoding,
``charset.SHORTEST`` for the shortest of quoted-printable or base64 encoding,
or ``None`` for no encodin... | trusted_official_docs | CPython Docs | *charset* is the input character set, and must be the canonical name of a character set.
Optional *header_enc* and *body_enc* is either ``charset.QP`` for
quoted-printable, ``charset.BASE64`` for base64 encoding,
``charset.SHORTEST`` for the shortest of quoted-printable or base64 encoding,
or ``None`` for no encodin... | *charset* is the input character set, and must be the canonical name of a character set.
Optional *header_enc* and *body_enc* is either ``charset.QP`` for
quoted-printable, ``charset.BASE64`` for base64 encoding,
``charset.SHORTEST`` for the shortest of quoted-printable or base64 encoding,
or ``None`` for no encodin... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ffe0db62-2de9-4748-87cf-65ea419e1b46 | CPython Docs | file://datasets/cpython/Doc/library/email.charset.rst | unknown | c6324f60-275c-42bd-b5af-76872489f022 | 45,692 | supabase-export-v2 | b9a154ec5b9561c3 | be encoded with base64, bodies will not be encoded, but output text will be converted from the ``euc-jp`` character set to the ``iso-2022-jp`` character set.
:class:`Charset` instances have the following data attributes: | trusted_official_docs | CPython Docs | be encoded with base64, bodies will not be encoded, but output text will be converted from the ``euc-jp`` character set to the ``iso-2022-jp`` character set.
:class:`Charset` instances have the following data attributes: | be encoded with base64, bodies will not be encoded, but output text will be converted from the ``euc-jp`` character set to the ``iso-2022-jp`` character set.
:class:`Charset` instances have the following data attributes: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0a37c1c3-4d31-4507-b42f-6ccc19ee6a3c | CPython Docs | file://datasets/cpython/Doc/library/filesys.rst | unknown | 771d8fd2-530a-4a8d-88d7-a5da9a3a64cb | 45,749 | supabase-export-v2 | 48d1ccddbd10684b | Module :mod:`os` Operating system interfaces, including functions to work with files at a lower level than Python :term:`file objects <file object>`.
Module :mod:`io`
Python's built-in I/O library, including both abstract classes and
some concrete classes such as file I/O. | trusted_official_docs | CPython Docs | Module :mod:`os` Operating system interfaces, including functions to work with files at a lower level than Python :term:`file objects <file object>`.
Module :mod:`io`
Python's built-in I/O library, including both abstract classes and
some concrete classes such as file I/O. | Module :mod:`os` Operating system interfaces, including functions to work with files at a lower level than Python :term:`file objects <file object>`.
Module :mod:`io`
Python's built-in I/O library, including both abstract classes and
some concrete classes such as file I/O. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
144654a5-199c-4136-8238-d57417e0851f | CPython Docs | file://datasets/cpython/Doc/library/filesys.rst | unknown | 771d8fd2-530a-4a8d-88d7-a5da9a3a64cb | 45,750 | supabase-export-v2 | 4a9073f5343bac9f | Module :mod:`io` Python's built-in I/O library, including both abstract classes and some concrete classes such as file I/O.
Built-in function :func:`open`
The standard way to open files for reading and writing with Python. | trusted_official_docs | CPython Docs | Module :mod:`io` Python's built-in I/O library, including both abstract classes and some concrete classes such as file I/O.
Built-in function :func:`open`
The standard way to open files for reading and writing with Python. | Module :mod:`io` Python's built-in I/O library, including both abstract classes and some concrete classes such as file I/O.
Built-in function :func:`open`
The standard way to open files for reading and writing with Python. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c65a9d73-a1f2-431d-99b8-e8f04556d5d9 | CPython Docs | file://datasets/cpython/Doc/library/filesys.rst | unknown | 771d8fd2-530a-4a8d-88d7-a5da9a3a64cb | 45,744 | supabase-export-v2 | 1ae1c26c6ef4a0a9 | ************************* File and Directory Access *************************
The modules described in this chapter deal with disk files and directories. For
example, there are modules for reading the properties of files, manipulating
paths in a portable way, and creating temporary files. The full list of modules
in th... | trusted_official_docs | CPython Docs | ************************* File and Directory Access *************************
The modules described in this chapter deal with disk files and directories. For
example, there are modules for reading the properties of files, manipulating
paths in a portable way, and creating temporary files. The full list of modules
in th... | ************************* File and Directory Access *************************
The modules described in this chapter deal with disk files and directories. For
example, there are modules for reading the properties of files, manipulating
paths in a portable way, and creating temporary files. The full list of modules
in th... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
08113da7-4dc9-4f0b-a05e-5f34fa88cebe | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 46,017 | supabase-export-v2 | 881d7edb4836a5a8 | The IDL types used in the DOM specification are mapped to Python types according to the following table.
+------------------+-------------------------------------------+
| IDL Type | Python Type |
+==================+===========================================+
| ``boolean`` | ``bool`` or ``int`` |
+------------------+... | trusted_official_docs | CPython Docs | The IDL types used in the DOM specification are mapped to Python types according to the following table.
+------------------+-------------------------------------------+
| IDL Type | Python Type |
+==================+===========================================+
| ``boolean`` | ``bool`` or ``int`` |
+------------------+... | The IDL types used in the DOM specification are mapped to Python types according to the following table.
+------------------+-------------------------------------------+
| IDL Type | Python Type |
+==================+===========================================+
| ``boolean`` | ``bool`` or ``int`` |
+------------------+... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0f645ecb-6743-4a45-8b37-0272bfb3a4f1 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,958 | supabase-export-v2 | 993cfd2f2ca93141 | .. attribute:: Comment.data
The content of the comment as a string. The attribute contains all characters
between the leading ``<!-``\ ``-`` and trailing ``-``\ ``->``, but does not
include them. | trusted_official_docs | CPython Docs | .. attribute:: Comment.data
The content of the comment as a string. The attribute contains all characters
between the leading ``<!-``\ ``-`` and trailing ``-``\ ``->``, but does not
include them. | .. attribute:: Comment.data
The content of the comment as a string. The attribute contains all characters
between the leading ``<!-``\ ``-`` and trailing ``-``\ ``->``, but does not
include them. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
158e3ce6-e517-4082-b71a-5ffae0d8b2dc | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,776 | supabase-export-v2 | f415de05f1e74fe1 | .. data:: EMPTY_NAMESPACE
The value used to indicate that no namespace is associated with a node in the
DOM. This is typically found as the :attr:`namespaceURI` of a node, or used as
the *namespaceURI* parameter to a namespaces-specific method. | trusted_official_docs | CPython Docs | .. data:: EMPTY_NAMESPACE
The value used to indicate that no namespace is associated with a node in the
DOM. This is typically found as the :attr:`namespaceURI` of a node, or used as
the *namespaceURI* parameter to a namespaces-specific method. | .. data:: EMPTY_NAMESPACE
The value used to indicate that no namespace is associated with a node in the
DOM. This is typically found as the :attr:`namespaceURI` of a node, or used as
the *namespaceURI* parameter to a namespaces-specific method. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1751dd2d-0249-47b4-bfe2-23d2f797a53c | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,886 | supabase-export-v2 | d9a5c6df43792e6c | .. method:: Document.createElementNS(namespaceURI, tagName)
Create and return a new element with a namespace. The *tagName* may have a
prefix. The element is not inserted into the document when it is created. You
need to explicitly insert it with one of the other methods such as
:meth:`insertBefore` or :meth:`append... | trusted_official_docs | CPython Docs | .. method:: Document.createElementNS(namespaceURI, tagName)
Create and return a new element with a namespace. The *tagName* may have a
prefix. The element is not inserted into the document when it is created. You
need to explicitly insert it with one of the other methods such as
:meth:`insertBefore` or :meth:`append... | .. method:: Document.createElementNS(namespaceURI, tagName)
Create and return a new element with a namespace. The *tagName* may have a
prefix. The element is not inserted into the document when it is created. You
need to explicitly insert it with one of the other methods such as
:meth:`insertBefore` or :meth:`append... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2046a094-571c-4438-bc70-7f1a080455ac | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,759 | supabase-export-v2 | f8f151f89dd38719 | by the W3C in stages, or "levels" in their terminology. The Python mapping of the API is substantially based on the DOM Level 2 recommendation.
.. What if your needs are somewhere between SAX and the DOM? Perhaps
you cannot afford to load the entire tree in memory but you find the
SAX model somewhat cumbersome and lo... | trusted_official_docs | CPython Docs | by the W3C in stages, or "levels" in their terminology. The Python mapping of the API is substantially based on the DOM Level 2 recommendation.
.. What if your needs are somewhere between SAX and the DOM? Perhaps
you cannot afford to load the entire tree in memory but you find the
SAX model somewhat cumbersome and lo... | by the W3C in stages, or "levels" in their terminology. The Python mapping of the API is substantially based on the DOM Level 2 recommendation.
.. What if your needs are somewhere between SAX and the DOM? Perhaps
you cannot afford to load the entire tree in memory but you find the
SAX model somewhat cumbersome and lo... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
22069768-212a-4bed-9230-1477cc2eef3b | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,854 | supabase-export-v2 | 46354f2cc49ed027 | NodeList Objects ^^^^^^^^^^^^^^^^
A :class:`NodeList` represents a sequence of nodes. These objects are used in
two ways in the DOM Core recommendation: an :class:`Element` object provides
one as its list of child nodes, and the :meth:`getElementsByTagName` and
:meth:`getElementsByTagNameNS` methods of :class:`Node` re... | trusted_official_docs | CPython Docs | NodeList Objects ^^^^^^^^^^^^^^^^
A :class:`NodeList` represents a sequence of nodes. These objects are used in
two ways in the DOM Core recommendation: an :class:`Element` object provides
one as its list of child nodes, and the :meth:`getElementsByTagName` and
:meth:`getElementsByTagNameNS` methods of :class:`Node` re... | NodeList Objects ^^^^^^^^^^^^^^^^
A :class:`NodeList` represents a sequence of nodes. These objects are used in
two ways in the DOM Core recommendation: an :class:`Element` object provides
one as its list of child nodes, and the :meth:`getElementsByTagName` and
:meth:`getElementsByTagNameNS` methods of :class:`Node` re... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2312de85-deac-497b-b5b5-610b667ca1e0 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,952 | supabase-export-v2 | 6aaa42c6a9d0a9db | .. method:: NamedNodeMap.item(index)
Return an attribute with a particular index. The order you get the attributes
in is arbitrary but will be consistent for the life of a DOM. Each item is an
attribute node. Get its value with the :attr:`value` attribute. | trusted_official_docs | CPython Docs | .. method:: NamedNodeMap.item(index)
Return an attribute with a particular index. The order you get the attributes
in is arbitrary but will be consistent for the life of a DOM. Each item is an
attribute node. Get its value with the :attr:`value` attribute. | .. method:: NamedNodeMap.item(index)
Return an attribute with a particular index. The order you get the attributes
in is arbitrary but will be consistent for the life of a DOM. Each item is an
attribute node. Get its value with the :attr:`value` attribute. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
24915d56-b1f6-4688-8ea6-46c59cb01615 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 46,022 | supabase-export-v2 | 642fc3374fb856bc | readonly attribute string someValue; attribute string anotherValue;
yields three accessor functions: a "get" method for :attr:`someValue`
(:meth:`_get_someValue`), and "get" and "set" methods for :attr:`anotherValue`
(:meth:`_get_anotherValue` and :meth:`_set_anotherValue`). The mapping, in
particular, does not require... | trusted_official_docs | CPython Docs | readonly attribute string someValue; attribute string anotherValue;
yields three accessor functions: a "get" method for :attr:`someValue`
(:meth:`_get_someValue`), and "get" and "set" methods for :attr:`anotherValue`
(:meth:`_get_anotherValue` and :meth:`_set_anotherValue`). The mapping, in
particular, does not require... | readonly attribute string someValue; attribute string anotherValue;
yields three accessor functions: a "get" method for :attr:`someValue`
(:meth:`_get_someValue`), and "get" and "set" methods for :attr:`anotherValue`
(:meth:`_get_anotherValue` and :meth:`_set_anotherValue`). The mapping, in
particular, does not require... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2a577405-c79a-42a6-96ce-80f3f12f71ff | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,931 | supabase-export-v2 | 7209be8c44ccd153 | .. method:: Element.setAttributeNode(newAttr)
Add a new attribute node to the element, replacing an existing attribute if
necessary if the :attr:`name` attribute matches. If a replacement occurs, the
old attribute node will be returned. If *newAttr* is already in use,
:exc:`InuseAttributeErr` will be raised. | trusted_official_docs | CPython Docs | .. method:: Element.setAttributeNode(newAttr)
Add a new attribute node to the element, replacing an existing attribute if
necessary if the :attr:`name` attribute matches. If a replacement occurs, the
old attribute node will be returned. If *newAttr* is already in use,
:exc:`InuseAttributeErr` will be raised. | .. method:: Element.setAttributeNode(newAttr)
Add a new attribute node to the element, replacing an existing attribute if
necessary if the :attr:`name` attribute matches. If a replacement occurs, the
old attribute node will be returned. If *newAttr* is already in use,
:exc:`InuseAttributeErr` will be raised. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2bf812ad-5c1b-4112-8534-d175187b27b4 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,861 | supabase-export-v2 | fadcfc919d89f0ba | implementations must include support for :meth:`~object.__len__` and :meth:`~object.__getitem__`; this allows iteration over the :class:`NodeList` in :keyword:`for` statements and proper support for the :func:`len` built-in function.
If a DOM implementation supports modification of the document, the
:class:`NodeList` i... | trusted_official_docs | CPython Docs | implementations must include support for :meth:`~object.__len__` and :meth:`~object.__getitem__`; this allows iteration over the :class:`NodeList` in :keyword:`for` statements and proper support for the :func:`len` built-in function.
If a DOM implementation supports modification of the document, the
:class:`NodeList` i... | implementations must include support for :meth:`~object.__len__` and :meth:`~object.__getitem__`; this allows iteration over the :class:`NodeList` in :keyword:`for` statements and proper support for the :func:`len` built-in function.
If a DOM implementation supports modification of the document, the
:class:`NodeList` i... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2d928f21-4bda-45db-a7e7-bd5d7eee7727 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,794 | supabase-export-v2 | d95f052023d93f47 | | +--------------------------------+-----------------------------------+---------------------------------+ | :class:`ProcessingInstruction` | :ref:`dom-pi-objects` | Processing instruction | | | | representation. | +--------------------------------+-----------------------------------+---------------------------------+
... | trusted_official_docs | CPython Docs | | +--------------------------------+-----------------------------------+---------------------------------+ | :class:`ProcessingInstruction` | :ref:`dom-pi-objects` | Processing instruction | | | | representation. | +--------------------------------+-----------------------------------+---------------------------------+
... | | +--------------------------------+-----------------------------------+---------------------------------+ | :class:`ProcessingInstruction` | :ref:`dom-pi-objects` | Processing instruction | | | | representation. | +--------------------------------+-----------------------------------+---------------------------------+
... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2dd9abbe-05f0-4411-b698-c9fe9d12587f | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,797 | supabase-export-v2 | 9a76f3d8b9fdf948 | DOMImplementation Objects ^^^^^^^^^^^^^^^^^^^^^^^^^
The :class:`DOMImplementation` interface provides a way for applications to
determine the availability of particular features in the DOM they are using. DOM Level 2 added the ability to create new :class:`Document` and
:class:`DocumentType` objects using the :class:`D... | trusted_official_docs | CPython Docs | DOMImplementation Objects ^^^^^^^^^^^^^^^^^^^^^^^^^
The :class:`DOMImplementation` interface provides a way for applications to
determine the availability of particular features in the DOM they are using. DOM Level 2 added the ability to create new :class:`Document` and
:class:`DocumentType` objects using the :class:`D... | DOMImplementation Objects ^^^^^^^^^^^^^^^^^^^^^^^^^
The :class:`DOMImplementation` interface provides a way for applications to
determine the availability of particular features in the DOM they are using. DOM Level 2 added the ability to create new :class:`Document` and
:class:`DocumentType` objects using the :class:`D... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2e8654a2-da2e-48e7-826b-7db968cb3684 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,791 | supabase-export-v2 | f376462f87bb2657 | nodes. | +--------------------------------+-----------------------------------+---------------------------------+ | :class:`DocumentType` | :ref:`dom-documenttype-objects` | Information about the | | | | declarations needed to process | | | | a document.
|
+--------------------------------+-----------------------------... | trusted_official_docs | CPython Docs | nodes. | +--------------------------------+-----------------------------------+---------------------------------+ | :class:`DocumentType` | :ref:`dom-documenttype-objects` | Information about the | | | | declarations needed to process | | | | a document.
|
+--------------------------------+-----------------------------... | nodes. | +--------------------------------+-----------------------------------+---------------------------------+ | :class:`DocumentType` | :ref:`dom-documenttype-objects` | Information about the | | | | declarations needed to process | | | | a document.
|
+--------------------------------+-----------------------------... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2fcfed68-deb1-466b-9da3-be2a1e9e9f9d | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,888 | supabase-export-v2 | 2d2634cef634c164 | .. method:: Document.createTextNode(data)
Create and return a text node containing the data passed as a parameter. As
with the other creation methods, this one does not insert the node into the
tree. | trusted_official_docs | CPython Docs | .. method:: Document.createTextNode(data)
Create and return a text node containing the data passed as a parameter. As
with the other creation methods, this one does not insert the node into the
tree. | .. method:: Document.createTextNode(data)
Create and return a text node containing the data passed as a parameter. As
with the other creation methods, this one does not insert the node into the
tree. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
326bbacd-efc0-4e6e-88cb-f22ee877ff1a | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,783 | supabase-export-v2 | 143fd61d7646542e | The URI of the XHTML namespace as defined by `XHTML 1.0: The Extensible HyperText Markup Language <https://www.w3.org/TR/xhtml1/>`_ (section 3.1.1).
In addition, :mod:`!xml.dom` contains a base :class:`Node` class and the DOM
exception classes. The :class:`Node` class provided by this module does not
implement any of t... | trusted_official_docs | CPython Docs | The URI of the XHTML namespace as defined by `XHTML 1.0: The Extensible HyperText Markup Language <https://www.w3.org/TR/xhtml1/>`_ (section 3.1.1).
In addition, :mod:`!xml.dom` contains a base :class:`Node` class and the DOM
exception classes. The :class:`Node` class provided by this module does not
implement any of t... | The URI of the XHTML namespace as defined by `XHTML 1.0: The Extensible HyperText Markup Language <https://www.w3.org/TR/xhtml1/>`_ (section 3.1.1).
In addition, :mod:`!xml.dom` contains a base :class:`Node` class and the DOM
exception classes. The :class:`Node` class provided by this module does not
implement any of t... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
329d1d9b-7960-47d7-8dda-0a6ff445d619 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,841 | supabase-export-v2 | 126fae641f4f59e5 | .. method:: Node.appendChild(newChild)
Add a new child node to this node at the end of the list of
children, returning *newChild*. If the node was already in
the tree, it is removed first. | trusted_official_docs | CPython Docs | .. method:: Node.appendChild(newChild)
Add a new child node to this node at the end of the list of
children, returning *newChild*. If the node was already in
the tree, it is removed first. | .. method:: Node.appendChild(newChild)
Add a new child node to this node at the end of the list of
children, returning *newChild*. If the node was already in
the tree, it is removed first. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
354ed466-500e-4424-baf5-0fc51dce1ca3 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,758 | supabase-export-v2 | 6832413e6c67980d | tree yourself in SAX events, but the DOM allows you to avoid writing that code. The DOM is a standard tree representation for XML data.
The Document Object Model is being defined by the W3C in stages, or "levels" in
their terminology. The Python mapping of the API is substantially based on the
DOM Level 2 recommendatio... | trusted_official_docs | CPython Docs | tree yourself in SAX events, but the DOM allows you to avoid writing that code. The DOM is a standard tree representation for XML data.
The Document Object Model is being defined by the W3C in stages, or "levels" in
their terminology. The Python mapping of the API is substantially based on the
DOM Level 2 recommendatio... | tree yourself in SAX events, but the DOM allows you to avoid writing that code. The DOM is a standard tree representation for XML data.
The Document Object Model is being defined by the W3C in stages, or "levels" in
their terminology. The Python mapping of the API is substantially based on the
DOM Level 2 recommendatio... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
35c484e1-b2d5-480d-b858-00c4fcf568b0 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 46,024 | supabase-export-v2 | 5e75ea30d4c2c876 | DOM over CORBA from Python do not consider this a problem. Attributes that are declared ``readonly`` may not restrict write access in all DOM implementations.
In the Python DOM API, accessor functions are not required. If provided, they
should take the form defined by the Python IDL mapping, but these methods are
consi... | trusted_official_docs | CPython Docs | DOM over CORBA from Python do not consider this a problem. Attributes that are declared ``readonly`` may not restrict write access in all DOM implementations.
In the Python DOM API, accessor functions are not required. If provided, they
should take the form defined by the Python IDL mapping, but these methods are
consi... | DOM over CORBA from Python do not consider this a problem. Attributes that are declared ``readonly`` may not restrict write access in all DOM implementations.
In the Python DOM API, accessor functions are not required. If provided, they
should take the form defined by the Python IDL mapping, but these methods are
consi... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
35f7a3da-b4c8-4fdf-9364-266ab641f2a7 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,915 | supabase-export-v2 | ee1178fd244edca8 | .. method:: Element.getAttribute(name)
Return the value of the attribute named by *name* as a string. If no such
attribute exists, an empty string is returned, as if the attribute had no value. | trusted_official_docs | CPython Docs | .. method:: Element.getAttribute(name)
Return the value of the attribute named by *name* as a string. If no such
attribute exists, an empty string is returned, as if the attribute had no value. | .. method:: Element.getAttribute(name)
Return the value of the attribute named by *name* as a string. If no such
attribute exists, an empty string is returned, as if the attribute had no value. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3a032323-50e1-4e4f-ad64-908a3f1be2ac | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,813 | supabase-export-v2 | 8a5d6fffc96c86fc | .. attribute:: Node.previousSibling
The node that immediately precedes this one with the same parent. For
instance the element with an end-tag that comes just before the *self*
element's start-tag. Of course, XML documents are made up of more than just
elements so the previous sibling could be text, a comment, or so... | trusted_official_docs | CPython Docs | .. attribute:: Node.previousSibling
The node that immediately precedes this one with the same parent. For
instance the element with an end-tag that comes just before the *self*
element's start-tag. Of course, XML documents are made up of more than just
elements so the previous sibling could be text, a comment, or so... | .. attribute:: Node.previousSibling
The node that immediately precedes this one with the same parent. For
instance the element with an end-tag that comes just before the *self*
element's start-tag. Of course, XML documents are made up of more than just
elements so the previous sibling could be text, a comment, or so... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3ab9e867-a8c1-4aee-9955-31984f31a360 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,802 | supabase-export-v2 | d06c9b557fa167b8 | In the Python DOM API, the first two arguments can also be ``None`` in order to indicate that no :class:`Element` child is to be created.
.. method:: DOMImplementation.createDocumentType(qualifiedName, publicId, systemId) | trusted_official_docs | CPython Docs | In the Python DOM API, the first two arguments can also be ``None`` in order to indicate that no :class:`Element` child is to be created.
.. method:: DOMImplementation.createDocumentType(qualifiedName, publicId, systemId) | In the Python DOM API, the first two arguments can also be ``None`` in order to indicate that no :class:`Element` child is to be created.
.. method:: DOMImplementation.createDocumentType(qualifiedName, publicId, systemId) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3adeb4ee-03a7-4a71-9a6a-7a8e4f232fc8 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,892 | supabase-export-v2 | 34296cbc012e400c | .. method:: Document.createProcessingInstruction(target, data)
Create and return a processing instruction node containing the *target* and
*data* passed as parameters. As with the other creation methods, this one does
not insert the node into the tree. | trusted_official_docs | CPython Docs | .. method:: Document.createProcessingInstruction(target, data)
Create and return a processing instruction node containing the *target* and
*data* passed as parameters. As with the other creation methods, this one does
not insert the node into the tree. | .. method:: Document.createProcessingInstruction(target, data)
Create and return a processing instruction node containing the *target* and
*data* passed as parameters. As with the other creation methods, this one does
not insert the node into the tree. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3f4794ed-8091-4999-8ed0-a0a8d8c36344 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 46,020 | supabase-export-v2 | bf9da722c0111c13 | Accessor Methods ^^^^^^^^^^^^^^^^
The mapping from OMG IDL to Python defines accessor functions for IDL
``attribute`` declarations in much the way the Java mapping does. Mapping the IDL declarations :: | trusted_official_docs | CPython Docs | Accessor Methods ^^^^^^^^^^^^^^^^
The mapping from OMG IDL to Python defines accessor functions for IDL
``attribute`` declarations in much the way the Java mapping does. Mapping the IDL declarations :: | Accessor Methods ^^^^^^^^^^^^^^^^
The mapping from OMG IDL to Python defines accessor functions for IDL
``attribute`` declarations in much the way the Java mapping does. Mapping the IDL declarations :: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
418c8704-9e9c-46a8-ac1c-2462b4aa5fc9 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,877 | supabase-export-v2 | 9c140246be5a0efc | .. attribute:: DocumentType.notations
This is a :class:`NamedNodeMap` giving the definitions of notations. For
notation names defined more than once, only the first definition is provided
(others are ignored as required by the XML recommendation). This may be
``None`` if the information is not provided by the parser... | trusted_official_docs | CPython Docs | .. attribute:: DocumentType.notations
This is a :class:`NamedNodeMap` giving the definitions of notations. For
notation names defined more than once, only the first definition is provided
(others are ignored as required by the XML recommendation). This may be
``None`` if the information is not provided by the parser... | .. attribute:: DocumentType.notations
This is a :class:`NamedNodeMap` giving the definitions of notations. For
notation names defined more than once, only the first definition is provided
(others are ignored as required by the XML recommendation). This may be
``None`` if the information is not provided by the parser... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
439607f2-da72-4635-a8d0-c8f02e2c3b98 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 46,025 | supabase-export-v2 | 979039229fe8f8c5 | IDL mapping, but these methods are considered unnecessary since the attributes are accessible directly from Python. "Set" accessors should never be provided for ``readonly`` attributes.
The IDL definitions do not fully embody the requirements of the W3C DOM API,
such as the notion of certain objects, such as the return... | trusted_official_docs | CPython Docs | IDL mapping, but these methods are considered unnecessary since the attributes are accessible directly from Python. "Set" accessors should never be provided for ``readonly`` attributes.
The IDL definitions do not fully embody the requirements of the W3C DOM API,
such as the notion of certain objects, such as the return... | IDL mapping, but these methods are considered unnecessary since the attributes are accessible directly from Python. "Set" accessors should never be provided for ``readonly`` attributes.
The IDL definitions do not fully embody the requirements of the W3C DOM API,
such as the notion of certain objects, such as the return... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
43b84f53-a9e0-4a77-8449-3f7eb851c513 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 46,011 | supabase-export-v2 | 1f768a5f620a0cca | inserted in a different document than it currently belongs to, and the implementation does not support migrating the node from one document to the other.
The exception codes defined in the DOM recommendation map to the exceptions
described above according to this table: | trusted_official_docs | CPython Docs | inserted in a different document than it currently belongs to, and the implementation does not support migrating the node from one document to the other.
The exception codes defined in the DOM recommendation map to the exceptions
described above according to this table: | inserted in a different document than it currently belongs to, and the implementation does not support migrating the node from one document to the other.
The exception codes defined in the DOM recommendation map to the exceptions
described above according to this table: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
498655c4-18ab-42ce-999e-d8e9b456167d | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,815 | supabase-export-v2 | 4f54e08de5e12973 | .. attribute:: Node.nextSibling
The node that immediately follows this one with the same parent. See also
:attr:`previousSibling`. If this is the last child of the parent, this
attribute will be ``None``. This is a read-only attribute. | trusted_official_docs | CPython Docs | .. attribute:: Node.nextSibling
The node that immediately follows this one with the same parent. See also
:attr:`previousSibling`. If this is the last child of the parent, this
attribute will be ``None``. This is a read-only attribute. | .. attribute:: Node.nextSibling
The node that immediately follows this one with the same parent. See also
:attr:`previousSibling`. If this is the last child of the parent, this
attribute will be ``None``. This is a read-only attribute. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4aacfdc1-8885-4684-88ef-2a9f974cd0cf | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,807 | supabase-export-v2 | 75c079fd27b85d75 | .. attribute:: Node.nodeType
An integer representing the node type. Symbolic constants for the types are on
the :class:`Node` object: :const:`ELEMENT_NODE`, :const:`ATTRIBUTE_NODE`,
:const:`TEXT_NODE`, :const:`CDATA_SECTION_NODE`, :const:`ENTITY_NODE`,
:const:`PROCESSING_INSTRUCTION_NODE`, :const:`COMMENT_NODE`,
:c... | trusted_official_docs | CPython Docs | .. attribute:: Node.nodeType
An integer representing the node type. Symbolic constants for the types are on
the :class:`Node` object: :const:`ELEMENT_NODE`, :const:`ATTRIBUTE_NODE`,
:const:`TEXT_NODE`, :const:`CDATA_SECTION_NODE`, :const:`ENTITY_NODE`,
:const:`PROCESSING_INSTRUCTION_NODE`, :const:`COMMENT_NODE`,
:c... | .. attribute:: Node.nodeType
An integer representing the node type. Symbolic constants for the types are on
the :class:`Node` object: :const:`ELEMENT_NODE`, :const:`ATTRIBUTE_NODE`,
:const:`TEXT_NODE`, :const:`CDATA_SECTION_NODE`, :const:`ENTITY_NODE`,
:const:`PROCESSING_INSTRUCTION_NODE`, :const:`COMMENT_NODE`,
:c... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4ea86bed-ba8c-42b9-a3af-85068c34b5e7 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,894 | supabase-export-v2 | 28714cd97bbdc9b3 | .. method:: Document.createAttribute(name)
Create and return an attribute node. This method does not associate the
attribute node with any particular element. You must use
:meth:`setAttributeNode` on the appropriate :class:`Element` object to use the
newly created attribute instance. | trusted_official_docs | CPython Docs | .. method:: Document.createAttribute(name)
Create and return an attribute node. This method does not associate the
attribute node with any particular element. You must use
:meth:`setAttributeNode` on the appropriate :class:`Element` object to use the
newly created attribute instance. | .. method:: Document.createAttribute(name)
Create and return an attribute node. This method does not associate the
attribute node with any particular element. You must use
:meth:`setAttributeNode` on the appropriate :class:`Element` object to use the
newly created attribute instance. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
50a39634-f85a-42ab-b9d7-927ce649a9c2 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,953 | supabase-export-v2 | 84cb0f85707c1656 | is arbitrary but will be consistent for the life of a DOM. Each item is an attribute node. Get its value with the :attr:`value` attribute.
There are also experimental methods that give this class more mapping behavior. You can use them or you can use the standardized :meth:`!getAttribute\*` family
of methods on the :cl... | trusted_official_docs | CPython Docs | is arbitrary but will be consistent for the life of a DOM. Each item is an attribute node. Get its value with the :attr:`value` attribute.
There are also experimental methods that give this class more mapping behavior. You can use them or you can use the standardized :meth:`!getAttribute\*` family
of methods on the :cl... | is arbitrary but will be consistent for the life of a DOM. Each item is an attribute node. Get its value with the :attr:`value` attribute.
There are also experimental methods that give this class more mapping behavior. You can use them or you can use the standardized :meth:`!getAttribute\*` family
of methods on the :cl... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
52858710-9369-40d4-8e65-fed979ffd14a | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,837 | supabase-export-v2 | dd68ddeef17bfb2f | .. method:: Node.isSameNode(other)
Return ``True`` if *other* refers to the same node as this node. This is especially
useful for DOM implementations which use any sort of proxy architecture (because
more than one object can refer to the same node). | trusted_official_docs | CPython Docs | .. method:: Node.isSameNode(other)
Return ``True`` if *other* refers to the same node as this node. This is especially
useful for DOM implementations which use any sort of proxy architecture (because
more than one object can refer to the same node). | .. method:: Node.isSameNode(other)
Return ``True`` if *other* refers to the same node as this node. This is especially
useful for DOM implementations which use any sort of proxy architecture (because
more than one object can refer to the same node). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
57922956-3584-4ce0-b1ec-c8fae5928fa4 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,761 | supabase-export-v2 | 894c1cfb8f97959f | DOM Level 3 adds a Load/Store specification, which defines an interface to the reader, but this is not yet available in the Python standard library.
Once you have a DOM document object, you can access the parts of your XML
document through its properties and methods. These properties are defined in
the DOM specificatio... | trusted_official_docs | CPython Docs | DOM Level 3 adds a Load/Store specification, which defines an interface to the reader, but this is not yet available in the Python standard library.
Once you have a DOM document object, you can access the parts of your XML
document through its properties and methods. These properties are defined in
the DOM specificatio... | DOM Level 3 adds a Load/Store specification, which defines an interface to the reader, but this is not yet available in the Python standard library.
Once you have a DOM document object, you can access the parts of your XML
document through its properties and methods. These properties are defined in
the DOM specificatio... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
585eeebf-4f04-4962-aa05-ff3fa97ccd19 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,766 | supabase-export-v2 | 2f62f036a75dc775 | `Document Object Model (DOM) Level 1 Specification <https://www.w3.org/TR/REC-DOM-Level-1/>`_ The W3C recommendation for the DOM supported by :mod:`xml.dom.minidom`.
`Python Language Mapping Specification <https://www.omg.org/spec/PYTH/1.2/PDF>`_
This specifies the mapping from OMG IDL to Python. | trusted_official_docs | CPython Docs | `Document Object Model (DOM) Level 1 Specification <https://www.w3.org/TR/REC-DOM-Level-1/>`_ The W3C recommendation for the DOM supported by :mod:`xml.dom.minidom`.
`Python Language Mapping Specification <https://www.omg.org/spec/PYTH/1.2/PDF>`_
This specifies the mapping from OMG IDL to Python. | `Document Object Model (DOM) Level 1 Specification <https://www.w3.org/TR/REC-DOM-Level-1/>`_ The W3C recommendation for the DOM supported by :mod:`xml.dom.minidom`.
`Python Language Mapping Specification <https://www.omg.org/spec/PYTH/1.2/PDF>`_
This specifies the mapping from OMG IDL to Python. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
5c1f42ee-5182-4d95-a709-e58d73ac59a6 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,831 | supabase-export-v2 | 2c3a4657bc7f00b0 | .. attribute:: Node.nodeValue
This has a different meaning for each node type; see the DOM specification for
details. The situation is similar to that with :attr:`nodeName`. The value is
a string or ``None``. | trusted_official_docs | CPython Docs | .. attribute:: Node.nodeValue
This has a different meaning for each node type; see the DOM specification for
details. The situation is similar to that with :attr:`nodeName`. The value is
a string or ``None``. | .. attribute:: Node.nodeValue
This has a different meaning for each node type; see the DOM specification for
details. The situation is similar to that with :attr:`nodeName`. The value is
a string or ``None``. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
5c93a8c8-2436-4137-810f-b92c1be3e017 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,990 | supabase-export-v2 | 314a871e7dc5c8a0 | .. exception:: InvalidCharacterErr
This exception is raised when a string parameter contains a character that is
not permitted in the context it's being used in by the XML 1.0 recommendation. For example, attempting to create an :class:`Element` node with a space in the
element type name will cause this error to be r... | trusted_official_docs | CPython Docs | .. exception:: InvalidCharacterErr
This exception is raised when a string parameter contains a character that is
not permitted in the context it's being used in by the XML 1.0 recommendation. For example, attempting to create an :class:`Element` node with a space in the
element type name will cause this error to be r... | .. exception:: InvalidCharacterErr
This exception is raised when a string parameter contains a character that is
not permitted in the context it's being used in by the XML 1.0 recommendation. For example, attempting to create an :class:`Element` node with a space in the
element type name will cause this error to be r... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
5d259a80-24f9-4a33-a5c2-1ee15ef13d4c | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,765 | supabase-export-v2 | a83f6f5f4273dbf7 | `Document Object Model (DOM) Level 2 Specification <https://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/>`_ The W3C recommendation upon which the Python DOM API is based.
`Document Object Model (DOM) Level 1 Specification <https://www.w3.org/TR/REC-DOM-Level-1/>`_
The W3C recommendation for the DOM supported by :... | trusted_official_docs | CPython Docs | `Document Object Model (DOM) Level 2 Specification <https://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/>`_ The W3C recommendation upon which the Python DOM API is based.
`Document Object Model (DOM) Level 1 Specification <https://www.w3.org/TR/REC-DOM-Level-1/>`_
The W3C recommendation for the DOM supported by :... | `Document Object Model (DOM) Level 2 Specification <https://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/>`_ The W3C recommendation upon which the Python DOM API is based.
`Document Object Model (DOM) Level 1 Specification <https://www.w3.org/TR/REC-DOM-Level-1/>`_
The W3C recommendation for the DOM supported by :... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
5ec9fbd1-569f-426d-b201-3e71c9a1450c | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,801 | supabase-export-v2 | d7d53c7adf34470a | .. method:: DOMImplementation.createDocument(namespaceUri, qualifiedName, doctype)
Return a new :class:`Document` object (the root of the DOM), with a child
:class:`Element` object having the given *namespaceUri* and *qualifiedName*. The
*doctype* must be a :class:`DocumentType` object created by
:meth:`createDocume... | trusted_official_docs | CPython Docs | .. method:: DOMImplementation.createDocument(namespaceUri, qualifiedName, doctype)
Return a new :class:`Document` object (the root of the DOM), with a child
:class:`Element` object having the given *namespaceUri* and *qualifiedName*. The
*doctype* must be a :class:`DocumentType` object created by
:meth:`createDocume... | .. method:: DOMImplementation.createDocument(namespaceUri, qualifiedName, doctype)
Return a new :class:`Document` object (the root of the DOM), with a child
:class:`Element` object having the given *namespaceUri* and *qualifiedName*. The
*doctype* must be a :class:`DocumentType` object created by
:meth:`createDocume... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
60b5e884-7ff4-4206-815f-9615306ddc5e | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,829 | supabase-export-v2 | 1c0b55cc358e2f9c | .. attribute:: Node.nodeName
This has a different meaning for each node type; see the DOM specification for
details. You can always get the information you would get here from another
property such as the :attr:`tagName` property for elements or the :attr:`name`
property for attributes. For all node types, the value... | trusted_official_docs | CPython Docs | .. attribute:: Node.nodeName
This has a different meaning for each node type; see the DOM specification for
details. You can always get the information you would get here from another
property such as the :attr:`tagName` property for elements or the :attr:`name`
property for attributes. For all node types, the value... | .. attribute:: Node.nodeName
This has a different meaning for each node type; see the DOM specification for
details. You can always get the information you would get here from another
property such as the :attr:`tagName` property for elements or the :attr:`name`
property for attributes. For all node types, the value... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
62240dff-f8df-4cd1-b75a-bd63831904b7 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 46,010 | supabase-export-v2 | 870cbf85cb9bc875 | .. exception:: WrongDocumentErr
Raised when a node is inserted in a different document than it currently belongs
to, and the implementation does not support migrating the node from one document
to the other. | trusted_official_docs | CPython Docs | .. exception:: WrongDocumentErr
Raised when a node is inserted in a different document than it currently belongs
to, and the implementation does not support migrating the node from one document
to the other. | .. exception:: WrongDocumentErr
Raised when a node is inserted in a different document than it currently belongs
to, and the implementation does not support migrating the node from one document
to the other. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
631cac6a-3f1a-472c-a1bf-f72736fd1c20 | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,792 | supabase-export-v2 | 983ed84e315f8ecc | in the document | | | | hierarchy. | +--------------------------------+-----------------------------------+---------------------------------+ | :class:`Attr` | :ref:`dom-attr-objects` | Attribute value nodes on | | | | element nodes.
|
+--------------------------------+-----------------------------------+--------------... | trusted_official_docs | CPython Docs | in the document | | | | hierarchy. | +--------------------------------+-----------------------------------+---------------------------------+ | :class:`Attr` | :ref:`dom-attr-objects` | Attribute value nodes on | | | | element nodes.
|
+--------------------------------+-----------------------------------+--------------... | in the document | | | | hierarchy. | +--------------------------------+-----------------------------------+---------------------------------+ | :class:`Attr` | :ref:`dom-attr-objects` | Attribute value nodes on | | | | element nodes.
|
+--------------------------------+-----------------------------------+--------------... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
65b17a78-a0ef-483d-b78f-80a36f497cfa | CPython Docs | file://datasets/cpython/Doc/library/xml.dom.rst | unknown | b2833e10-6879-4e3d-adad-cb3cf5247c20 | 45,962 | supabase-export-v2 | 402e6b8b979b02f7 | the text enclosed in CDATA marked sections are stored in :class:`CDATASection` objects. These two interfaces are identical, but provide different values for the :attr:`nodeType` attribute.
These interfaces extend the :class:`Node` interface. They cannot have child
nodes. | trusted_official_docs | CPython Docs | the text enclosed in CDATA marked sections are stored in :class:`CDATASection` objects. These two interfaces are identical, but provide different values for the :attr:`nodeType` attribute.
These interfaces extend the :class:`Node` interface. They cannot have child
nodes. | the text enclosed in CDATA marked sections are stored in :class:`CDATASection` objects. These two interfaces are identical, but provide different values for the :attr:`nodeType` attribute.
These interfaces extend the :class:`Node` interface. They cannot have child
nodes. | python, official-docs, cpython, P0 | Local_Trusted_Corpus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.