Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
gevent
Commits
5910a3ff
Commit
5910a3ff
authored
Dec 29, 2009
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix evbuffer.pxi to be compatible with cython 0.12
parent
2f59f484
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
gevent/evbuffer.pxi
gevent/evbuffer.pxi
+2
-1
No files found.
gevent/evbuffer.pxi
View file @
5910a3ff
...
...
@@ -33,7 +33,8 @@ cdef class buffer:
return
evbuffer_get_length
(
self
.
__obj
)
def
__nonzero__
(
self
):
return
self
.
__obj
and
evbuffer_get_length
(
self
.
__obj
)
if
self
.
__obj
:
return
evbuffer_get_length
(
self
.
__obj
)
# cython does not implement generators
#def __iter__(self):
...
...
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