get_AllRegions: Update example
@@ -56,8 +56,8 @@ def get_AllRegions(self, classes=None, order='document', depth=0):
For example, to get all text anywhere on the page in reading order, use:
::
- '\n'.join(line.get_TextEquiv()[0].Unicode
- for region in page.get_AllRegions(classes='Text', depth=0, order='reading-order')
+ '\\n'.join(line.get_TextEquiv()[0].Unicode
+ for region in page.get_AllRegions(classes=['Text'], depth=0, order='reading-order')
for line in region.get_TextLine())
"""
if order not in ['document', 'reading-order', 'reading-order-only']:
