# encoding: utf-8
# module lxml.etree
# from C:\Programs\Python\Python313\Lib\site-packages\lxml\etree.cp313-win_amd64.pyd
# by generator 1.147
""" The ``lxml.etree`` module implements the extended ElementTree API for XML. """

# imports
import builtins as __builtins__ # <module 'builtins' (built-in)>
import abc as __abc
import typing as __typing


from .object import object

class DocInfo(object):
    """ Document information provided by parser and DTD. """
    def clear(self, *args, **kwargs): # real signature unknown
        """ Removes DOCTYPE and internal subset from the document. """
        pass

    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    @staticmethod # known case of __new__
    def __new__(*args, **kwargs): # real signature unknown
        """ Create and return a new object.  See help(type) for accurate signature. """
        pass

    doctype = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """Returns a DOCTYPE declaration string for the document."""

    encoding = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """Returns the encoding name as declared by the document."""

    externalDTD = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """Returns a DTD validator based on the external subset of the document."""

    internalDTD = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """Returns a DTD validator based on the internal subset of the document."""

    public_id = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """Public ID of the DOCTYPE.

        Mutable.  May be set to a valid string or None.  If a DTD does not
        exist, setting this variable (even to None) will create one.
        """

    root_name = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """Returns the name of the root node as defined by the DOCTYPE."""

    standalone = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """Returns the standalone flag as declared by the document.  The possible
        values are True (``standalone='yes'``), False
        (``standalone='no'`` or flag not provided in the declaration),
        and None (unknown or no declaration found).  Note that a
        normal truth test on this value will always tell if the
        ``standalone`` flag was set to ``'yes'`` or not.
        """

    system_url = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """System ID of the DOCTYPE.

        Mutable.  May be set to a valid string or None.  If a DTD does not
        exist, setting this variable (even to None) will create one.
        """

    URL = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """The source URL of the document (or None if unknown)."""

    xml_version = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """Returns the XML version as declared by the document."""


    __pyx_vtable__ = None # (!) real value is '<capsule object NULL at 0x000001F0E7C81F80>'


