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
Gwenaël Samain
cython
Commits
b4864b08
Commit
b4864b08
authored
May 15, 2008
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more test fixes for Py3
parent
8bfd3ed6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
tests/run/kostyrka2.pyx
tests/run/kostyrka2.pyx
+1
-1
tests/run/r_docstrings.pyx
tests/run/r_docstrings.pyx
+7
-7
No files found.
tests/run/kostyrka2.pyx
View file @
b4864b08
...
...
@@ -6,7 +6,7 @@ __doc__ = u"""
import
sys
if
sys
.
version_info
[
0
]
<
3
:
__doc__
=
__doc__
.
replace
(
u"
b'"
,
u"
'"
)
__doc__
=
__doc__
.
replace
(
u"
b'"
,
u"
'"
)
class
X
:
slots
=
[
""
,
]
tests/run/r_docstrings.pyx
View file @
b4864b08
...
...
@@ -3,16 +3,16 @@ __doc__ = u"""
u'This is a function docstring.'
>>> C.__doc__
u
'This is a class docstring.'
'This is a class docstring.'
>>> CS.__doc__
u
'This is a subclass docstring.'
'This is a subclass docstring.'
>>> print(CSS.__doc__)
None
>>> T.__doc__
u
'This is an extension type docstring.'
'This is an extension type docstring.'
>>> TS.__doc__
u
'This is an extension subtype docstring.'
'This is an extension subtype docstring.'
>>> TSS.__doc__
Compare with standard Python:
...
...
@@ -20,7 +20,7 @@ Compare with standard Python:
>>> def f():
... 'This is a function docstring.'
>>> f.__doc__
u
'This is a function docstring.'
'This is a function docstring.'
>>> class C:
... 'This is a class docstring.'
...
...
@@ -30,9 +30,9 @@ Compare with standard Python:
... pass
>>> C.__doc__
u
'This is a class docstring.'
'This is a class docstring.'
>>> CS.__doc__
u
'This is a subclass docstring.'
'This is a subclass docstring.'
>>> CSS.__doc__
"""
...
...
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