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
fddc4698
Commit
fddc4698
authored
Apr 15, 2008
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent namespace pollution, add static for internal functions
parent
04f58760
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Objects/abstract.c
Objects/abstract.c
+2
-2
Objects/descrobject.c
Objects/descrobject.c
+3
-3
No files found.
Objects/abstract.c
View file @
fddc4698
...
...
@@ -446,7 +446,7 @@ PyBuffer_GetPointer(Py_buffer *view, Py_ssize_t *indices)
}
void
static
void
_add_one_to_index_F
(
int
nd
,
Py_ssize_t
*
index
,
Py_ssize_t
*
shape
)
{
int
k
;
...
...
@@ -462,7 +462,7 @@ _add_one_to_index_F(int nd, Py_ssize_t *index, Py_ssize_t *shape)
}
}
void
static
void
_add_one_to_index_C
(
int
nd
,
Py_ssize_t
*
index
,
Py_ssize_t
*
shape
)
{
int
k
;
...
...
Objects/descrobject.c
View file @
fddc4698
...
...
@@ -1116,7 +1116,7 @@ static PyMemberDef property_members[] = {
PyDoc_STRVAR
(
getter_doc
,
"Descriptor to change the getter on a property."
);
PyObject
*
static
PyObject
*
property_getter
(
PyObject
*
self
,
PyObject
*
getter
)
{
return
property_copy
(
self
,
getter
,
NULL
,
NULL
,
NULL
);
...
...
@@ -1126,7 +1126,7 @@ property_getter(PyObject *self, PyObject *getter)
PyDoc_STRVAR
(
setter_doc
,
"Descriptor to change the setter on a property."
);
PyObject
*
static
PyObject
*
property_setter
(
PyObject
*
self
,
PyObject
*
setter
)
{
return
property_copy
(
self
,
NULL
,
setter
,
NULL
,
NULL
);
...
...
@@ -1136,7 +1136,7 @@ property_setter(PyObject *self, PyObject *setter)
PyDoc_STRVAR
(
deleter_doc
,
"Descriptor to change the deleter on a property."
);
PyObject
*
static
PyObject
*
property_deleter
(
PyObject
*
self
,
PyObject
*
deleter
)
{
return
property_copy
(
self
,
NULL
,
NULL
,
deleter
,
NULL
);
...
...
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