Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
a68c1bca
Kaydet (Commit)
a68c1bca
authored
Eyl 08, 2016
tarafından
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove legacy "from __future__ import with_statement" lines.
üst
18a7d2b4
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1 addition
and
15 deletions
+1
-15
rstlint.py
Doc/tools/rstlint.py
+0
-2
refactor.py
Lib/lib2to3/refactor.py
+0
-2
test_parser.py
Lib/lib2to3/tests/test_parser.py
+0
-2
test_pytree.py
Lib/lib2to3/tests/test_pytree.py
+0
-2
test_refactor.py
Lib/lib2to3/tests/test_refactor.py
+0
-2
libpython.py
Tools/gdb/libpython.py
+1
-1
hgtouch.py
Tools/hg/hgtouch.py
+0
-1
With.py
Tools/pybench/With.py
+0
-1
generate_opcode_h.py
Tools/scripts/generate_opcode_h.py
+0
-2
No files found.
Doc/tools/rstlint.py
Dosyayı görüntüle @
a68c1bca
...
...
@@ -9,8 +9,6 @@
# TODO: - wrong versions in versionadded/changed
# - wrong markup after versionchanged directive
from
__future__
import
with_statement
import
os
import
re
import
sys
...
...
Lib/lib2to3/refactor.py
Dosyayı görüntüle @
a68c1bca
...
...
@@ -8,8 +8,6 @@ recursively descend down directories. Imported as a module, this
provides infrastructure to write your own refactoring tool.
"""
from
__future__
import
with_statement
__author__
=
"Guido van Rossum <guido@python.org>"
...
...
Lib/lib2to3/tests/test_parser.py
Dosyayı görüntüle @
a68c1bca
...
...
@@ -6,8 +6,6 @@ parts of the grammar we've changed, we also make sure we can parse the
test_grammar.py files from both Python 2 and Python 3.
"""
from
__future__
import
with_statement
# Testing imports
from
.
import
support
from
.support
import
driver
...
...
Lib/lib2to3/tests/test_pytree.py
Dosyayı görüntüle @
a68c1bca
...
...
@@ -9,8 +9,6 @@ more helpful than printing of (the first line of) the docstring,
especially when debugging a test.
"""
from
__future__
import
with_statement
# Testing imports
from
.
import
support
...
...
Lib/lib2to3/tests/test_refactor.py
Dosyayı görüntüle @
a68c1bca
...
...
@@ -2,8 +2,6 @@
Unit tests for refactor.py.
"""
from
__future__
import
with_statement
import
sys
import
os
import
codecs
...
...
Tools/gdb/libpython.py
Dosyayı görüntüle @
a68c1bca
...
...
@@ -44,7 +44,7 @@ The module also extends gdb with some python-specific commands.
# NOTE: some gdbs are linked with Python 3, so this file should be dual-syntax
# compatible (2.6+ and 3.0+). See #19308.
from
__future__
import
print_function
,
with_statement
from
__future__
import
print_function
import
gdb
import
os
import
locale
...
...
Tools/hg/hgtouch.py
Dosyayı görüntüle @
a68c1bca
...
...
@@ -7,7 +7,6 @@ syntax of make rules.
In addition to the dependency syntax, #-comments are supported.
"""
from
__future__
import
with_statement
import
errno
import
os
import
time
...
...
Tools/pybench/With.py
Dosyayı görüntüle @
a68c1bca
from
__future__
import
with_statement
from
pybench
import
Test
class
WithFinally
(
Test
):
...
...
Tools/scripts/generate_opcode_h.py
Dosyayı görüntüle @
a68c1bca
# This script generates the opcode.h header file.
from
__future__
import
with_statement
import
sys
header
=
"""/* Auto-generated by Tools/scripts/generate_opcode_h.py */
#ifndef Py_OPCODE_H
...
...
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