chiark
/
gitweb
/
~mdw
/
mLib-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Announce 1.0.2.
[mLib-python]
/
url.pyx
diff --git
a/url.pyx
b/url.pyx
index d4ed1217eb784fc19d421f7fbdb66ef52c894478..613630d21170e113206f4140ff6e8158aff6750b 100644
(file)
--- a/
url.pyx
+++ b/
url.pyx
@@
-29,7
+29,7
@@
cdef class URLEncode:
cdef url_ectx ctx
cdef dstr d
cdef url_ectx ctx
cdef dstr d
- def __
new
__(me, *hunoz, **hukairz):
+ def __
cinit
__(me, *hunoz, **hukairz):
url_initenc(&me.ctx)
DCREATE(&me.d)
def __init__(me, strictp = False, laxp = False, semip = False):
url_initenc(&me.ctx)
DCREATE(&me.d)
def __init__(me, strictp = False, laxp = False, semip = False):
@@
-79,7
+79,7
@@
cdef class URLDecode:
cdef url_dctx ctx
cdef char *p
cdef url_dctx ctx
cdef char *p
- def __
new
__(me, *hunoz, **hukairz):
+ def __
cinit
__(me, *hunoz, **hukairz):
me.p = xstrdup('')
url_initdec(&me.ctx, me.p)
def __init__(me, char *string, semip = False):
me.p = xstrdup('')
url_initdec(&me.ctx, me.p)
def __init__(me, char *string, semip = False):