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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
628d4d97
Commit
628d4d97
authored
14 years ago
by
Lisandro Dalcin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove duplicate method implementation
parent
666be97c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
Cython/Compiler/Main.py
Cython/Compiler/Main.py
+0
-5
No files found.
Cython/Compiler/Main.py
View file @
628d4d97
...
@@ -379,11 +379,6 @@ class Context(object):
...
@@ -379,11 +379,6 @@ class Context(object):
dir
=
parent
dir
=
parent
return
dir
return
dir
def
is_package_dir
(
self
,
dir
):
package_init
=
os
.
path
.
join
(
dir
,
"__init__.py"
)
return
os
.
path
.
exists
(
package_init
)
or
\
os
.
path
.
exists
(
package_init
+
"x"
)
# same with .pyx
def
check_package_dir
(
self
,
dir
,
package_names
):
def
check_package_dir
(
self
,
dir
,
package_names
):
package_dir
=
os
.
path
.
join
(
dir
,
*
package_names
)
package_dir
=
os
.
path
.
join
(
dir
,
*
package_names
)
if
not
os
.
path
.
exists
(
package_dir
):
if
not
os
.
path
.
exists
(
package_dir
):
...
...
This diff is collapsed.
Click to expand it.
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