Logo
Explore Help
Sign In
ada/cpython
0
0
Fork 0
You've already forked cpython
mirror of https://github.com/AdaCore/cpython.git synced 2026-02-12 12:57:15 -08:00
Code Issues Packages Projects Releases Wiki Activity
Files
master
cpython/Lib/test/badsyntax_future8.py

11 lines
122 B
Python
Raw Permalink Normal View History

SF #736962, port test_future to unittest, add a bit more coverage, by Walter Dörwald
2003-12-13 22:43:34 +00:00
"""This is a test"""
from __future__ import *
def f(x):
def g(y):
return x + y
return g
Fix most trivially-findable print statements. There's one major and one minor category still unfixed: doctests are the major category (and I hope to be able to augment the refactoring tool to refactor bona fide doctests soon); other code generating print statements in strings is the minor category. (Oh, and I don't know if the compiler package works.)
2007-02-09 05:37:30 +00:00
print(f(2)(4))
Reference in New Issue Copy Permalink
Powered by Gitea Page: 4589ms Template: 5ms
English
English
Licenses API