Function peek_event
Synopsis
def peek_event(self)
Description
No description yet.
Mentioned in
- Documentation / Loader
Source
Lines 107-113 in lib3/yaml/parser.py.
def peek_event(self):
# Get the next event.
if self.current_event is None:
if self.state:
self.current_event = self.state()
return self.current_event