By allowing the audience to know important facts ahead of the leading characters, dramatic irony puts the audience and readers above the characters, and also encourages them to anticipate, hope, and fear the moment when a character would learn the truth behind events and situations of the story.
Miss Maudie tries to explain Atticus's excellent marksmanship and his lack of pride in it. ... She tells Scout and Jem good things about their father (Atticus).