projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aa09e0
)
work around Cython problem with parsing ur'abc' literals
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 15 May 2008 08:38:33 +0000
(10:38 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 15 May 2008 08:38:33 +0000
(10:38 +0200)
tests/run/jarausch1.pyx
patch
|
blob
|
history
diff --git
a/tests/run/jarausch1.pyx
b/tests/run/jarausch1.pyx
index 8132bba26187b1c55155480c86a84f6178276690..0c8e3cc9a43850e0eedbb25cc804b7a0d36373db 100644
(file)
--- a/
tests/run/jarausch1.pyx
+++ b/
tests/run/jarausch1.pyx
@@
-1,10
+1,10
@@
__doc__ = u"""
- >>> py_x =
u
r'\\\\'
+ >>> py_x =
b
r'\\\\'
>>> assert x == py_x
"""
import sys
-if sys.version_info[0]
>=
3:
- __doc__ = __doc__.replace(u"
u
r'", u" r'")
+if sys.version_info[0]
<
3:
+ __doc__ = __doc__.replace(u"
b
r'", u" r'")
-x =
u
r'\\'
+x = r'\\'