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
a673eb89
Commit
a673eb89
authored
Mar 04, 2012
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix invalid markup and update suspicious ignores.
parent
0f25cea2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
10 deletions
+20
-10
Doc/library/socket.rst
Doc/library/socket.rst
+2
-2
Doc/library/sys.rst
Doc/library/sys.rst
+1
-1
Doc/tools/sphinxext/susp-ignored.csv
Doc/tools/sphinxext/susp-ignored.csv
+17
-7
No files found.
Doc/library/socket.rst
View file @
a673eb89
...
@@ -1311,7 +1311,7 @@ network. This example might require special priviledge::
...
@@ -1311,7 +1311,7 @@ network. This example might require special priviledge::
import struct
import struct
# CAN frame packing/unpacking (see
`struct can_frame`
in <linux/can.h>)
# CAN frame packing/unpacking (see
'struct can_frame'
in <linux/can.h>)
can_frame_fmt = "=IB3x8s"
can_frame_fmt = "=IB3x8s"
can_frame_size = struct.calcsize(can_frame_fmt)
can_frame_size = struct.calcsize(can_frame_fmt)
...
@@ -1326,7 +1326,7 @@ network. This example might require special priviledge::
...
@@ -1326,7 +1326,7 @@ network. This example might require special priviledge::
return (can_id, can_dlc, data[:can_dlc])
return (can_id, can_dlc, data[:can_dlc])
# create a raw socket and bind it to the
`vcan0`
interface
# create a raw socket and bind it to the
'vcan0'
interface
s = socket.socket(socket.AF_CAN, socket.SOCK_RAW, socket.CAN_RAW)
s = socket.socket(socket.AF_CAN, socket.SOCK_RAW, socket.CAN_RAW)
s.bind(('vcan0',))
s.bind(('vcan0',))
...
...
Doc/library/sys.rst
View file @
a673eb89
...
@@ -770,7 +770,7 @@ always available.
...
@@ -770,7 +770,7 @@ always available.
independent Python files are installed; by default, this is the string
independent Python files are installed; by default, this is the string
``'/usr/local'``. This can be set at build time with the ``--prefix``
``'/usr/local'``. This can be set at build time with the ``--prefix``
argument to the :program:`configure` script. The main collection of Python
argument to the :program:`configure` script. The main collection of Python
library modules is installed in the directory :file:`{prefix}/lib/python{X.Y}`
`
library modules is installed in the directory :file:`{prefix}/lib/python{X.Y}`
while the platform independent header files (all except :file:`pyconfig.h`) are
while the platform independent header files (all except :file:`pyconfig.h`) are
stored in :file:`{prefix}/include/python{X.Y}`, where *X.Y* is the version
stored in :file:`{prefix}/include/python{X.Y}`, where *X.Y* is the version
number of Python, for example ``3.2``.
number of Python, for example ``3.2``.
...
...
Doc/tools/sphinxext/susp-ignored.csv
View file @
a673eb89
...
@@ -112,9 +112,6 @@ library/turtle,,::,Example::
...
@@ -112,9 +112,6 @@ library/turtle,,::,Example::
library/urllib,,:port,:port
library/urllib,,:port,:port
library/urllib2,,:password,"""joe:password@python.org"""
library/urllib2,,:password,"""joe:password@python.org"""
library/uuid,,:uuid,urn:uuid:12345678-1234-5678-1234-567812345678
library/uuid,,:uuid,urn:uuid:12345678-1234-5678-1234-567812345678
library/xmlrpclib,,:pass,http://user:pass@host:port/path
library/xmlrpclib,,:pass,user:pass
library/xmlrpclib,,:port,http://user:pass@host:port/path
license,,`,THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
license,,`,THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
license,,:zooko,mailto:zooko@zooko.com
license,,:zooko,mailto:zooko@zooko.com
license,,`,THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
license,,`,THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
...
@@ -185,14 +182,13 @@ library/stdtypes,,:end,s[start:end]
...
@@ -185,14 +182,13 @@ library/stdtypes,,:end,s[start:end]
library/urllib.request,,:close,Connection:close
library/urllib.request,,:close,Connection:close
library/urllib.request,,:password,"""joe:password@python.org"""
library/urllib.request,,:password,"""joe:password@python.org"""
library/urllib.request,,:lang,"xmlns=""http://www.w3.org/1999/xhtml"" xml:lang=""en"" lang=""en"">\n\n<head>\n"
library/urllib.request,,:lang,"xmlns=""http://www.w3.org/1999/xhtml"" xml:lang=""en"" lang=""en"">\n\n<head>\n"
library/xmlrpc.client,
103
,:pass,http://user:pass@host:port/path
library/xmlrpc.client,,:pass,http://user:pass@host:port/path
library/xmlrpc.client,
103
,:port,http://user:pass@host:port/path
library/xmlrpc.client,,:port,http://user:pass@host:port/path
library/xmlrpc.client,
103
,:pass,user:pass
library/xmlrpc.client,,:pass,user:pass
license,,`,* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
license,,`,* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
license,,`,* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
license,,`,* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
license,,`,"``Software''), to deal in the Software without restriction, including"
license,,`,"``Software''), to deal in the Software without restriction, including"
license,,`,"THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,"
license,,`,"THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,"
reference/lexical_analysis,704,`,$ ? `
whatsnew/2.7,735,:Sunday,'2009:4:Sunday'
whatsnew/2.7,735,:Sunday,'2009:4:Sunday'
whatsnew/2.7,862,::,"export PYTHONWARNINGS=all,error:::Cookie:0"
whatsnew/2.7,862,::,"export PYTHONWARNINGS=all,error:::Cookie:0"
whatsnew/2.7,862,:Cookie,"export PYTHONWARNINGS=all,error:::Cookie:0"
whatsnew/2.7,862,:Cookie,"export PYTHONWARNINGS=all,error:::Cookie:0"
...
@@ -295,3 +291,17 @@ packaging/tutorial,,::,2) License :: OSI Approved :: GNU Library or Lesser Gener
...
@@ -295,3 +291,17 @@ packaging/tutorial,,::,2) License :: OSI Approved :: GNU Library or Lesser Gener
packaging/tutorial,,::,Type the number of the license you wish to use or ? to try again:: 1
packaging/tutorial,,::,Type the number of the license you wish to use or ? to try again:: 1
packaging/tutorial,,::,classifier = Development Status :: 3 - Alpha
packaging/tutorial,,::,classifier = Development Status :: 3 - Alpha
packaging/tutorial,,::,License :: OSI Approved :: GNU General Public License (GPL)
packaging/tutorial,,::,License :: OSI Approved :: GNU General Public License (GPL)
c-api/unicode,,:start,unicode[start:start+length]
library/smtplib,,:port,method must support that as well as a regular host:port
library/socket,,:len,fds.fromstring(cmsg_data[:len(cmsg_data) - (len(cmsg_data) % fds.itemsize)])
library/socket,,:can,"return (can_id, can_dlc, data[:can_dlc])"
library/sqlite3,,:who,"cur.execute(""select * from people where name_last=:who and age=:age"", {""who"": who, ""age"": age})"
library/sqlite3,,:age,"cur.execute(""select * from people where name_last=:who and age=:age"", {""who"": who, ""age"": age})"
library/stdtypes,,::,>>> a[::2].tolist()
library/stdtypes,,::,>>> a[::-1].tolist()
library/stdtypes,,::,>>> hash(v[::-2]) == hash(b'abcefg'[::-2])
library/stdtypes,,::,>>> y = m[::2]
reference/lexical_analysis,,`,$ ? `
library/tarfile,,:xz,'r:xz'
library/tarfile,,:xz,'w:xz'
library/tarfile,,:xz,'a:xz'
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