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
49203dc9
Commit
49203dc9
authored
Aug 31, 2010
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reformat comment
parent
19d6a4fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Lib/socket.py
Lib/socket.py
+2
-2
No files found.
Lib/socket.py
View file @
49203dc9
...
@@ -173,11 +173,11 @@ class socket(_socket.socket):
...
@@ -173,11 +173,11 @@ class socket(_socket.socket):
self
.
close
()
self
.
close
()
def
_real_close
(
self
,
_ss
=
_socket
.
socket
):
def
_real_close
(
self
,
_ss
=
_socket
.
socket
):
# This function should not reference any globals.
See Issue808164
# This function should not reference any globals.
See issue #808164.
_ss
.
close
(
self
)
_ss
.
close
(
self
)
def
close
(
self
):
def
close
(
self
):
# This function should not reference any globals.
See Issue808164
# This function should not reference any globals.
See issue #808164.
self
.
_closed
=
True
self
.
_closed
=
True
if
self
.
_io_refs
<=
0
:
if
self
.
_io_refs
<=
0
:
self
.
_real_close
()
self
.
_real_close
()
...
...
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