Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
27596279
Commit
27596279
authored
May 28, 2006
by
Michael W. Hudson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use the UnicodeError traversal and clearing functions in UnicodeError
subclasses.
parent
43ab100c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Objects/exceptions.c
Objects/exceptions.c
+4
-4
No files found.
Objects/exceptions.c
View file @
27596279
...
...
@@ -1608,8 +1608,8 @@ static PyTypeObject _PyExc_UnicodeEncodeError = {
(
destructor
)
UnicodeError_dealloc
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
(
reprfunc
)
UnicodeEncodeError_str
,
0
,
0
,
0
,
Py_TPFLAGS_DEFAULT
|
Py_TPFLAGS_BASETYPE
|
Py_TPFLAGS_HAVE_GC
,
PyDoc_STR
(
"Unicode encoding error."
),
(
traverseproc
)
BaseException
_traverse
,
(
inquiry
)
BaseException
_clear
,
0
,
0
,
0
,
0
,
0
,
UnicodeError_members
,
PyDoc_STR
(
"Unicode encoding error."
),
(
traverseproc
)
UnicodeError
_traverse
,
(
inquiry
)
UnicodeError
_clear
,
0
,
0
,
0
,
0
,
0
,
UnicodeError_members
,
0
,
&
_PyExc_UnicodeError
,
0
,
0
,
0
,
offsetof
(
PyUnicodeErrorObject
,
dict
),
(
initproc
)
UnicodeEncodeError_init
,
0
,
BaseException_new
,
};
...
...
@@ -1680,8 +1680,8 @@ static PyTypeObject _PyExc_UnicodeDecodeError = {
(
destructor
)
UnicodeError_dealloc
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
(
reprfunc
)
UnicodeDecodeError_str
,
0
,
0
,
0
,
Py_TPFLAGS_DEFAULT
|
Py_TPFLAGS_BASETYPE
|
Py_TPFLAGS_HAVE_GC
,
PyDoc_STR
(
"Unicode decoding error."
),
(
traverseproc
)
BaseException
_traverse
,
(
inquiry
)
BaseException
_clear
,
0
,
0
,
0
,
0
,
0
,
UnicodeError_members
,
PyDoc_STR
(
"Unicode decoding error."
),
(
traverseproc
)
UnicodeError
_traverse
,
(
inquiry
)
UnicodeError
_clear
,
0
,
0
,
0
,
0
,
0
,
UnicodeError_members
,
0
,
&
_PyExc_UnicodeError
,
0
,
0
,
0
,
offsetof
(
PyUnicodeErrorObject
,
dict
),
(
initproc
)
UnicodeDecodeError_init
,
0
,
BaseException_new
,
};
...
...
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