+
    i                     *   R t ^ RIt^ RIt^ RIt^ RIHtHt ^ RI	H
t
 ^ RI	Ht ^ RIHt ^RIHtHtHtHtHtHtHt ]P.                  ! R]4       . ROt ! R	 R]4      t]t]t]t]P>                  t]P@                  t ]!t!]"t"]#;t#t$]%t&]t'](t(]t)R
 t*RR lt+R# )z"Python 2/3 compat layer leftovers.N)redirect_stderrredirect_stdout)BytesIO)StringIO)SimpleNamespace)Tagbytechrbyteord	bytesjoinstrjointobytestostrzeThe py23 module has been deprecated and will be removed in a future release. Please update your code.	Py23Errorc                       ] tR t^-tRtR# )r    N)__name__
__module____qualname____firstlineno____static_attributes__r       s/Users/tonyclaw/.openclaw/workspace/skills/math-calculator/venv/lib/python3.14/site-packages/fontTools/misc/py23.pyr   r   -   s    r   c                      \        R 4      h)z-'xrange' is not defined. Use 'range' instead.)r   )argskwargss   *,r   xranger   A   s    
C
DDr   c                t   Vf   ^ pV^ 8  dF   ^
V) ,          p\        W4      w  r4WB^,          8  d   V ^ 8  d
   V^,          p\        W2,          4      # \        P                  ! R4      V) ,          p\        P                  P	                  V 4      P                  V\        P                  R7      p\        V4      # )a  
Implementation of Python 2 built-in round() function.
Rounds a number to a given precision in decimal digits (default
0 digits). The result is a floating point number. Values are rounded
to the closest multiple of 10 to the power minus ndigits; if two
multiples are equally close, rounding is done away from 0.
ndigits may be negative.
See Python 2 documentation:
https://docs.python.org/2/library/functions.html?highlight=round#round
10)rounding)divmodfloat_decimalDecimal
from_floatquantizeROUND_HALF_UP)numberndigitsexponentquotient	remainderds   &&    r   round2r,   E   s     {7(#$V6A%&A+MHX())##D)wh7''/88x55 9 
 Qxr   )
basestringr   r	   r   r
   openr   rangeRecursionErrorroundr   r   r   r   r   r   	tounicodeunichrunicode	UnicodeIOr   zip)N),__doc__decimalr!   math_mathwarnings
contextlibr   r   ior   r   r5   typesr   	textToolsr   r   r	   r
   r   r   r   warnDeprecationWarning__all__NotImplementedErrorr   r0   strr-   iscloseisfiniter.   r/   r1   round3chrr3   r4   r6   r2   r   r,   r   r   r   <module>rI      s    (    7  $ ! P P P 4	# 	  

-->> 	
		Er   