Fix assigning None in 2.5

This commit is contained in:
Darryl Pogue
2011-09-22 22:38:43 -07:00
parent 4fc7096b92
commit 5b769fd746

View File

@@ -1431,6 +1431,12 @@ static void end_line()
int cur_indent = -1;
void print_src(PycRef<ASTNode> node, PycModule* mod)
{
if (node == Node_NULL) {
printf("None");
cleanBuild = true;
return;
}
switch (node->type()) {
case ASTNode::NODE_BINARY:
case ASTNode::NODE_COMPARE: