Title: An extension of a theorem of Painlevé