diff --git a/modelling/pymod/_closegaps.py b/modelling/pymod/_closegaps.py
index 074524313d45ce7e661d4f82df02fc2156c76ee0..22f3725042a8dff61594b0d064129aa85cdafc4d 100644
--- a/modelling/pymod/_closegaps.py
+++ b/modelling/pymod/_closegaps.py
@@ -1082,7 +1082,7 @@ def CloseGaps(mhandle, merge_distance=4, fragment_db=None, structure_db=None,
     :param torsion_sampler: Used as parameter for :func:`FillLoopsByDatabase`
                             and :func:`FillLoopsByMonteCarlo` A default one is 
                             loaded if None.
-    :type torsion_sampler: :class:`promod3.loop.TorsionSampler
+    :type torsion_sampler: :class:`promod3.loop.TorsionSampler`
     :param fragger_handles: A list of :class:`promod3.loop.FraggerHandle`
                             objects for each chain in **mhandle**. 
                             If provided, fragments will be used for
@@ -1096,7 +1096,6 @@ def CloseGaps(mhandle, merge_distance=4, fragment_db=None, structure_db=None,
     :param resnum_range: If not None, only gaps within this resnum range get
                          processed.
     :type resnum_range: :class:`tuple` containing two :class:`int`  
-
     '''
 
     # load stuff if needed