# encoding: utf-8
# module lxml.etree
# from D:\project\A_Board\.venv\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 ._Validator import _Validator

class RelaxNG(_Validator):
    """
    RelaxNG(self, etree=None, file=None)
        Turn a document into a Relax NG validator.
    
        Either pass a schema as Element or ElementTree, or pass a file or
        filename through the ``file`` keyword argument.
    """
    @classmethod
    def from_rnc_string(cls, *args, **kwargs): # real signature unknown
        """
        Parse a RelaxNG schema in compact syntax from a text string
        
                Requires the rnc2rng package to be installed.
        
                Passing the source URL or file path of the source as 'base_url'
                will enable resolving resource references relative to the source.
        """
        pass

    def __call__(self, etree): # real signature unknown; restored from __doc__
        """
        __call__(self, etree)
        
                Validate doc using Relax NG.
        
                Returns true if document is valid, false if not.
        """
        pass

    def __init__(self, etree=None, file=None): # real signature unknown; restored from __doc__
        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

    __pyx_vtable__ = None # (!) real value is '<capsule object NULL at 0x000001F0E7C5AE30>'


