mirror of https://github.com/flaggo/pydu.git
fix cmp signature error in compat doc
This commit is contained in:
parent
4d9897512d
commit
b0da7936a2
|
@ -56,7 +56,7 @@ Compat
|
||||||
Same to ``itertools.imap`` on PY2 or ``map`` on PY3.
|
Same to ``itertools.imap`` on PY2 or ``map`` on PY3.
|
||||||
|
|
||||||
|
|
||||||
.. py:function:: pydu.compat.cmp
|
.. py:function:: pydu.compat.cmp(x, y)
|
||||||
|
|
||||||
Same to ``cmp`` on PY2, but implement on PY3.
|
Same to ``cmp`` on PY2, but implement on PY3.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue