<div id="comment:0"></div> and also fix two lgtm warnings nothing serious, mostly cosmetic changes CC: @jplab @LaisRast @kliem @sophiasage Component: **geometry** Author: **Frédéric Chapoton** Branch/Commit: **[`310903a`](https://github.com/sagemath/sagetrac-mirror/commit/310903a5ef19d2b546f36b15cc53e17a2aa041b1)** Reviewer: **Jonathan Kliem** _Issue created by migration from https://trac.sagemath.org/ticket/30878_