Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
cpython
Commits
8d457c78
Commit
8d457c78
authored
19 years ago
by
Georg Brandl
Browse files
Options
Download
Email Patches
Plain Diff
bug [ 1175848 ] poorly named variable in urllib2.py
parent
07c81d90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Lib/urllib2.py
Lib/urllib2.py
+2
-2
No files found.
Lib/urllib2.py
View file @
8d457c78
...
...
@@ -277,8 +277,8 @@ class Request:
class
OpenerDirector
:
def
__init__
(
self
):
server
_version
=
"Python-urllib/%s"
%
__version__
self
.
addheaders
=
[(
'User-agent'
,
server
_version
)]
client
_version
=
"Python-urllib/%s"
%
__version__
self
.
addheaders
=
[(
'User-agent'
,
client
_version
)]
# manage the individual handlers
self
.
handlers
=
[]
self
.
handle_open
=
{}
...
...
This diff is collapsed.
Click to expand it.
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