GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — output switch equals cases with spaces around operator · ntworld/java2python@39a0323

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • java2python/compiler
    • visitor.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎java2python/compiler/visitor.py‎

Copy file name to clipboardExpand all lines: java2python/compiler/visitor.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def acceptSwitch(self, node, memo):
517517
# we have at least one node...
518518
parExpr = self.factory.expr(parent=self)
519519
parExpr.walk(parNode, memo)
520-
eqFs = FS.l + '==' + FS.r
520+
eqFs = FS.l + ' == ' + FS.r
521521
for caseIdx, caseNode in enumerate(caseNodes):
522522
isDefault, isFirst = caseNode.type==tokens.DEFAULT, caseIdx==0
523523

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.