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
832a25b7
Commit
832a25b7
authored
May 10, 2003
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missing parenthesis found by texcheck.py
parent
9669ceba
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
Doc/lib/libfuncs.tex
Doc/lib/libfuncs.tex
+1
-1
Doc/lib/libstdtypes.tex
Doc/lib/libstdtypes.tex
+2
-2
Doc/lib/liburllib2.tex
Doc/lib/liburllib2.tex
+1
-1
No files found.
Doc/lib/libfuncs.tex
View file @
832a25b7
...
...
@@ -713,7 +713,7 @@ class C:
\begin{funcdesc}
{
property
}{
\optional
{
fget
\optional
{
, fset
\optional
{
, fdel
\optional
{
, doc
}}}}}
Return a property attribute for new-style classes (classes that
derive from
\function
{
object
}
.
derive from
\function
{
object
}
)
.
\var
{
fget
}
is a function for getting an attribute value, likewise
\var
{
fset
}
is a function for setting, and
\var
{
fdel
}
a function
...
...
Doc/lib/libstdtypes.tex
View file @
832a25b7
...
...
@@ -1089,7 +1089,7 @@ arbitrary objects):
\ttindex
{
pop()
}
\ttindex
{
popitem()
}
\ttindex
{
iteritems()
}
\ttindex
{
iterkeys)
}
\ttindex
{
iterkeys
(
)
}
\ttindex
{
itervalues()
}}
\begin{tableiii}
{
c|l|c
}{
code
}{
Operation
}{
Result
}{
Notes
}
...
...
@@ -1450,7 +1450,7 @@ Modifying this dictionary will actually change the module's symbol
table, but direct assignment to the
\member
{__
dict
__}
attribute is not
possible (you can write
\code
{
\var
{
m
}
.
__
dict
__
['a'] = 1
}
, which
defines
\code
{
\var
{
m
}
.a
}
to be
\code
{
1
}
, but you can't write
\code
{
\var
{
m
}
.
__
dict
__
=
\{\}
}
.
\code
{
\var
{
m
}
.
__
dict
__
=
\{\}
}
)
.
Modules built into the interpreter are written like this:
\code
{
<module 'sys' (built-in)>
}
. If loaded from a file, they are
...
...
Doc/lib/liburllib2.tex
View file @
832a25b7
...
...
@@ -297,7 +297,7 @@ Open the given \var{url} (which can be a request object or a string),
optionally passing the given
\var
{
data
}
.
Arguments, return values and exceptions raised are the same as those
of
\function
{
urlopen()
}
(which simply calls the
\method
{
open()
}
method
on the default installed
\class
{
OpenerDirector
}
.
on the default installed
\class
{
OpenerDirector
}
)
.
\end{methoddesc}
\begin{methoddesc}
[OpenerDirector]
{
error
}{
proto
\optional
{
,
...
...
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