Permalink
Browse files

Style

  • Loading branch information...
Andy Chu
Andy Chu committed Mar 20, 2018
1 parent e93995f commit 6e8cd3f93f398b04574b334b37e9fa454a8d4c83
Showing with 1 addition and 3 deletions.
  1. +1 −3 opy/compiler2/pyassem.py
View
@@ -384,17 +384,15 @@ def _ReorderCellVars(self):
return cellvars
def MakeCodeObject(self):
"""Assemble a Python code object."""
"""Order blocks, encode instructions, and create types.CodeType()."""
stacksize = ComputeStackDepth(self.blocks, self.entry, self.exit)
blocks = OrderBlocks(self.entry, self.exit)
insts = FlattenGraph(blocks)
cellvars = self._ReorderCellVars()
consts = [self.docstring]
names = []
# The closure list is used to track the order of cell variables and
# free variables in the resulting code object. The offsets used by
# LOAD_CLOSURE/LOAD_DEREF refer to both kinds of variables.

0 comments on commit 6e8cd3f

Please sign in to comment.