diff --git a/docs/source/concepts/ComponentInfo.rst b/docs/source/concepts/ComponentInfo.rst
index 880f87d6e61229525b3bdeee5a4707675a906fbd..5aa5257c45e70e8cbddc993c29df10203163e9a6 100644
--- a/docs/source/concepts/ComponentInfo.rst
+++ b/docs/source/concepts/ComponentInfo.rst
@@ -23,8 +23,6 @@ Print indices of detectors in "bank1" that are masked
 .. code-block:: python 
 
   from mantid.simpleapi import CreateSampleWorkspace
-  from mantid.geometry import ComponentInfo, ComponentInfoPythonIterator
-  from mantid.geometry import DetectorInfo, DetectorInfoPythonIterator
 
   ws = CreateSampleWorkspace()
   comp_info = ws.componentInfo()
diff --git a/docs/source/concepts/DetectorInfo.rst b/docs/source/concepts/DetectorInfo.rst
index a6b9236ea7ff7746e99c25509265ef89e8f21a31..a7e6783b04c445f992e6565ddc7c6f74a62cd3fb 100644
--- a/docs/source/concepts/DetectorInfo.rst
+++ b/docs/source/concepts/DetectorInfo.rst
@@ -23,7 +23,6 @@ Mask detectors at some distance from the source
 .. code-block:: python 
 
   from mantid.simpleapi import CreateSampleWorkspace
-  from mantid.geometry import DetectorInfo, DetectorInfoPythonIterator
 
   # Test workspace with instrument
   ws = CreateSampleWorkspace()
@@ -37,7 +36,6 @@ Print detectors with scattering angle
 .. code-block:: python 
 
   from mantid.simpleapi import CreateSampleWorkspace
-  from mantid.geometry import DetectorInfo, DetectorInfoPythonIterator
 
   # Test workspace with instrument
   ws = CreateSampleWorkspace()