


'''simple docstring'''




import warnings

from ...utils import logging
from .image_processing_layoutlmva import LayoutLMvaImageProcessor


_lowerCAmelCase	:		Optional[int]		  =						logging.get_logger(__name__)



class 			lowerCAmelCase					(					A_				):



	def __init__(       self			,       *snake_case__			,       **snake_case__     ):
		warnings.warn(
		    'The class LayoutLMv3FeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
		    ' Please use LayoutLMv3ImageProcessor instead.'			,       lowerCamelCase_			,       )
		super().__init__(*lowerCamelCase_			,       **lowerCamelCase_     )

"""simple docstring"""


from doctest import testmod
from math import sqrt

def 						UpperCamelCase				(	_lowerCAmelCase   :							int						):
    __a			      =						[]
    if num < 1:
        return facs
    facs.append(1						)
    if num == 1:
        return facs
    facs.append(_lowerCAmelCase						)
    for i in range(2				, int(sqrt(_lowerCAmelCase						)						) + 1						):
        if num % i == 0:  # If i is a factor of num
            facs.append(_lowerCAmelCase						)
            __a			      =						num // i  # num//i is the other factor of num
            if d != i:  # If d and i are distinct
                facs.append(_lowerCAmelCase						)  # we have found another factor
    facs.sort()
    return facs


if __name__ == "__main__":
 testmod(name="""factors_of_a_number""", verbose=True)
