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
80a865f4
Commit
80a865f4
authored
Sep 21, 2012
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#15980: properly escape newlines in docstrings. Patch by Serhiy Storchaka.
parent
fc190316
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Lib/http/cookiejar.py
Lib/http/cookiejar.py
+2
-2
No files found.
Lib/http/cookiejar.py
View file @
80a865f4
...
...
@@ -1825,7 +1825,7 @@ def lwp_cookie_str(cookie):
class LWPCookieJar(FileCookieJar):
"""
The
LWPCookieJar
saves
a
sequence
of
"Set-Cookie3"
lines
.
The
LWPCookieJar
saves
a
sequence
of
"Set-Cookie3"
lines
.
"Set-Cookie3"
is
the
format
used
by
the
libwww
-
perl
libary
,
not
known
to
be
compatible
with
any
browser
,
but
which
is
easy
to
read
and
doesn
't lose information about RFC 2965 cookies.
...
...
@@ -1837,7 +1837,7 @@ class LWPCookieJar(FileCookieJar):
"""
def as_lwp_str(self, ignore_discard=True, ignore_expires=True):
"""Return cookies as a string of "
\
n
"-separated "Set-Cookie3" headers.
"""Return cookies as a string of "
\
\
n"-separated "Set-Cookie3" headers.
ignore_discard and ignore_expires: see docstring for FileCookieJar.save
...
...
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