Closed perrygoy closed 1 year ago
After a lot of discussion with @bandophahita, we decided instead to encourage the use of the_narrator
. We'll be removing Narrator
from the list of top-level screenpy
imports and making it clear that it shouldn't be used directly.
This PR makes the
Narrator
class into a singleton. It's main intent is to make it easier to access the Narrator, especially now that theNarrator
can be importedfrom screenpy
. I was worried that might be confusing betweenNarrator
andthe_narrator
.I've updated the code and documentation to use
Narrator()
in all the places it used to usethe_narrator
, except inscreenpy.pacing
. Even though they are functionally identical, i have a feeling there are some repos who usethe_narrator
frompacing
, and i don't want this to break those suites.