A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-April/026363.html below:

[Python-checkins] python/nondist/sandbox/ast asdl_java.py,1.3,1.4

[Python-checkins] python/nondist/sandbox/ast asdl_java.py,1.3,1.4nnorwitz@sourceforge.net nnorwitz@sourceforge.net
Fri, 19 Apr 2002 09:24:35 -0700
Update of /cvsroot/python/python/nondist/sandbox/ast
In directory usw-pr-cvs1:/tmp/cvs-serv23895

Modified Files:
	asdl_java.py 
Log Message:
Cleanup, sys was imported twice, and there is no line, I think s is correct

Index: asdl_java.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/ast/asdl_java.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** asdl_java.py	18 Apr 2002 18:57:30 -0000	1.3
--- asdl_java.py	19 Apr 2002 16:24:31 -0000	1.4
***************
*** 30,34 ****
      while len(cur) > size:
          i = cur.rfind(' ', 0, size)
!         assert i != -1, "Impossible line to reflow: %s" % `line`
          lines.append(padding + cur[:i])
          if len(lines) == 1:
--- 30,34 ----
      while len(cur) > size:
          i = cur.rfind(' ', 0, size)
!         assert i != -1, "Impossible line to reflow: %s" % `s`
          lines.append(padding + cur[:i])
          if len(lines) == 1:
***************
*** 313,318 ****
  
  if __name__ == "__main__":
-     import sys
- 
      mod = asdl.parse(sys.argv[1])
      if not asdl.check(mod):
--- 313,316 ----






RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4