Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
95287fa9
Commit
95287fa9
authored
Apr 30, 2008
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some from __future__ import with_statements
parent
655fc701
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
7 deletions
+0
-7
Lib/calendar.py
Lib/calendar.py
+0
-1
Lib/test/test_cmd_line_script.py
Lib/test/test_cmd_line_script.py
+0
-1
Lib/test/test_contextlib.py
Lib/test/test_contextlib.py
+0
-1
Lib/test/test_decimal.py
Lib/test/test_decimal.py
+0
-1
Lib/test/test_frozen.py
Lib/test/test_frozen.py
+0
-1
Lib/test/test_tempfile.py
Lib/test/test_tempfile.py
+0
-1
Lib/test/test_with.py
Lib/test/test_with.py
+0
-1
No files found.
Lib/calendar.py
View file @
95287fa9
...
...
@@ -5,7 +5,6 @@ default, these calendars have Monday as the first day of the week, and
Sunday as the last (the European convention). Use setfirstweekday() to
set the first day of the week (0=Monday, 6=Sunday)."""
from
__future__
import
with_statement
import
sys
import
datetime
import
locale
as
_locale
...
...
Lib/test/test_cmd_line_script.py
View file @
95287fa9
# Tests command line execution of scripts
from
__future__
import
with_statement
import
unittest
import
os
...
...
Lib/test/test_contextlib.py
View file @
95287fa9
"""Unit tests for contextlib.py, and other context managers."""
from
__future__
import
with_statement
import
sys
import
os
...
...
Lib/test/test_decimal.py
View file @
95287fa9
...
...
@@ -23,7 +23,6 @@ or Behaviour) to test each part, or without parameter to test both parts. If
you're working through IDLE, you can import this test module and call test_main()
with the corresponding argument.
"""
from
__future__
import
with_statement
import
glob
import
math
...
...
Lib/test/test_frozen.py
View file @
95287fa9
# Test the frozen module defined in frozen.c.
from
__future__
import
with_statement
from
test.test_support
import
captured_stdout
,
run_unittest
import
unittest
...
...
Lib/test/test_tempfile.py
View file @
95287fa9
# tempfile.py unit tests.
from
__future__
import
with_statement
import
tempfile
import
os
import
sys
...
...
Lib/test/test_with.py
View file @
95287fa9
...
...
@@ -2,7 +2,6 @@
"""Unit tests for the with statement specified in PEP 343."""
from
__future__
import
with_statement
__author__
=
"Mike Bland"
__email__
=
"mbland at acm dot org"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment