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
Boxiang Sun
cython
Commits
69b44fc6
Commit
69b44fc6
authored
Apr 22, 2012
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
another tweak to the refnanny context: readonly fields are enough
parent
3ad4e215
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Cython/Runtime/refnanny.pyx
Cython/Runtime/refnanny.pyx
+5
-5
No files found.
Cython/Runtime/refnanny.pyx
View file @
69b44fc6
...
...
@@ -15,12 +15,12 @@ LOG_NONE, LOG_ALL = range(2)
@
cython
.
final
cdef
class
Context
(
object
):
cdef
public
object
name
,
filename
cdef
public
dict
refs
cdef
public
list
errors
cdef
public
Py_ssize_t
start
cdef
readonly
object
name
,
filename
cdef
readonly
dict
refs
cdef
readonly
list
errors
cdef
readonly
Py_ssize_t
start
def
__init__
(
self
,
name
,
line
=
0
,
filename
=
None
):
def
__
c
init__
(
self
,
name
,
line
=
0
,
filename
=
None
):
self
.
name
=
name
self
.
start
=
line
self
.
filename
=
filename
...
...
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