Romanovski introduced a procedure, Romanovski's lemma, to construct the Denjoy integral without the use of transfinite induction. Here we give two versions of Romanovski's lemma which hold in general topological spaces. We provide several applications in various areas of mathematics