Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
bdcf0f26
Commit
bdcf0f26
authored
Nov 13, 2011
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more import cleanups
parent
eeeb039f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
8 deletions
+3
-8
Cython/CodeWriter.py
Cython/CodeWriter.py
+3
-4
Cython/Plex/Regexps.py
Cython/Plex/Regexps.py
+0
-1
Cython/Plex/Transitions.py
Cython/Plex/Transitions.py
+0
-1
Cython/TestUtils.py
Cython/TestUtils.py
+0
-2
No files found.
Cython/CodeWriter.py
View file @
bdcf0f26
from
Cython.Compiler.Visitor
import
TreeVisitor
from
Cython.Compiler.Nodes
import
*
from
Cython.Compiler.ExprNodes
import
*
"""
"""
Serializes a Cython code tree to Cython code. This is primarily useful for
Serializes a Cython code tree to Cython code. This is primarily useful for
debugging and testing purposes.
debugging and testing purposes.
...
@@ -10,6 +6,9 @@ The output is in a strict format, no whitespace or comments from the input
...
@@ -10,6 +6,9 @@ The output is in a strict format, no whitespace or comments from the input
is preserved (and it could not be as it is not present in the code tree).
is preserved (and it could not be as it is not present in the code tree).
"""
"""
from
Cython.Compiler.Visitor
import
TreeVisitor
from
Cython.Compiler.ExprNodes
import
*
class
LinesResult
(
object
):
class
LinesResult
(
object
):
def
__init__
(
self
):
def
__init__
(
self
):
self
.
lines
=
[]
self
.
lines
=
[]
...
...
Cython/Plex/Regexps.py
View file @
bdcf0f26
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
#
#
#=======================================================================
#=======================================================================
import
array
import
types
import
types
from
sys
import
maxint
as
maxint
from
sys
import
maxint
as
maxint
...
...
Cython/Plex/Transitions.py
View file @
bdcf0f26
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
# for speed.
# for speed.
#
#
from
copy
import
copy
from
sys
import
maxint
as
maxint
from
sys
import
maxint
as
maxint
class
TransitionMap
(
object
):
class
TransitionMap
(
object
):
...
...
Cython/TestUtils.py
View file @
bdcf0f26
import
Cython.Compiler.Errors
as
Errors
import
Cython.Compiler.Errors
as
Errors
from
Cython.CodeWriter
import
CodeWriter
from
Cython.CodeWriter
import
CodeWriter
from
Cython.Compiler.ModuleNode
import
ModuleNode
import
Cython.Compiler.Main
as
Main
from
Cython.Compiler.TreeFragment
import
TreeFragment
,
strip_common_indent
from
Cython.Compiler.TreeFragment
import
TreeFragment
,
strip_common_indent
from
Cython.Compiler.Visitor
import
TreeVisitor
,
VisitorTransform
from
Cython.Compiler.Visitor
import
TreeVisitor
,
VisitorTransform
from
Cython.Compiler
import
TreePath
from
Cython.Compiler
import
TreePath
...
...
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