3
\W\ ã @ s† d dl mZ d dlZd dlZd dlZd dlZd dlZddgZdd„ Zdd„ Z ej
jZej
j
ZejdejejB ƒZG d d„ dejƒZdS )
é )ÚDecimalNÚFractionÚgcdc C sf dd l }|jdtdƒ t| ƒt ko0t|ƒkn r\|p<| dk rPtj| |ƒ S tj| |ƒS t| |ƒS )Nr z6fractions.gcd() is deprecated. Use math.gcd() instead.é )ÚwarningsÚwarnÚDeprecationWarningÚtypeÚintÚmathr Ú_gcd)ÚaÚbr © r ú!/usr/lib64/python3.6/fractions.pyr s c C s x|r|| | } }qW | S )Nr )r
r r r r r s r aC
\A\s* # optional whitespace at the start, then
(?P