Commits

Kirill Simonov  committed 4701932

Fixed a typo in the attribute name (Thanks ingy).

  • Participants
  • Parent commits 58210b2

Comments (0)

Files changed (2)

File lib/yaml/serializer.py

         self.emit(DocumentEndEvent(explicit=self.use_explicit_end))
         self.serialized_nodes = {}
         self.anchors = {}
-        self.last_alias_id = 0
+        self.last_anchor_id = 0
 
     def anchor_node(self, node):
         if node in self.anchors:

File lib3/yaml/serializer.py

         self.emit(DocumentEndEvent(explicit=self.use_explicit_end))
         self.serialized_nodes = {}
         self.anchors = {}
-        self.last_alias_id = 0
+        self.last_anchor_id = 0
 
     def anchor_node(self, node):
         if node in self.anchors: