Base documentation - minor revisions

Many revisions on the base.rst. Formated and added new examples, inserted some returned types, etc.
Corrections on base.rst previous commit

Removed type annotation of some functions
Corrected identation and comments
Merge pull request #6864 from brk00/patch-3

Base documentation - minor revisions