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
Kirill Smelkov
cython
Commits
555a5640
Commit
555a5640
authored
May 04, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new test for ticket #354
parent
680bd22d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
tests/run/bint_property_T354.pyx
tests/run/bint_property_T354.pyx
+15
-0
No files found.
tests/run/bint_property_T354.pyx
0 → 100644
View file @
555a5640
cdef
class
Test
:
"""
>>> t = Test(True)
>>> t.some_ro_bool
True
>>> t.some_public_bool
True
"""
cdef
public
bint
some_public_bool
cdef
readonly
bint
some_ro_bool
def
__init__
(
self
,
bint
boolval
):
self
.
some_ro_bool
=
boolval
self
.
some_public_bool
=
boolval
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