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
14c198b1
Commit
14c198b1
authored
Apr 03, 1998
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Talk about some minor nits...
parent
395e8e48
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
Doc/lib/libpprint.tex
Doc/lib/libpprint.tex
+4
-4
Doc/libpprint.tex
Doc/libpprint.tex
+4
-4
No files found.
Doc/lib/libpprint.tex
View file @
14c198b1
...
@@ -103,7 +103,7 @@ parameters for formatting are used.
...
@@ -103,7 +103,7 @@ parameters for formatting are used.
\begin{funcdesc}
{
isreadable
}{
object
}
\begin{funcdesc}
{
isreadable
}{
object
}
Determine if the formatted representation of
\var
{
object
}
is
Determine if the formatted representation of
\var
{
object
}
is
``readable,'' or can be used to reconstruct the value using
``readable,'' or can be used to reconstruct the value using
\function
{
eval()
}
\bifuncindex
{
eval
}
.
Note that thi
s returns false for
\function
{
eval()
}
\bifuncindex
{
eval
}
.
This alway
s returns false for
recursive objects.
recursive objects.
\begin{verbatim}
\begin{verbatim}
...
@@ -131,9 +131,9 @@ representation is not otherwise formatted.
...
@@ -131,9 +131,9 @@ representation is not otherwise formatted.
% the right margin.
% the right margin.
\begin{verbatim}
\begin{verbatim}
>>> pprint.saferepr(stuff)
>>> pprint.saferepr(stuff)
"[<Recursion on list with id=682968>, '', '/usr/local/lib/python1.
4
', '/usr/loca
"[<Recursion on list with id=682968>, '', '/usr/local/lib/python1.
5
', '/usr/loca
l/lib/python1.
4/test', '/usr/local/lib/python1.4
/sunos5', '/usr/local/lib/python
l/lib/python1.
5/test', '/usr/local/lib/python1.5
/sunos5', '/usr/local/lib/python
1.
4/sharedmodules', '/usr/local/lib/python1.4
/tkinter']"
1.
5/sharedmodules', '/usr/local/lib/python1.5
/tkinter']"
\end{verbatim}
\end{verbatim}
...
...
Doc/libpprint.tex
View file @
14c198b1
...
@@ -103,7 +103,7 @@ parameters for formatting are used.
...
@@ -103,7 +103,7 @@ parameters for formatting are used.
\begin{funcdesc}
{
isreadable
}{
object
}
\begin{funcdesc}
{
isreadable
}{
object
}
Determine if the formatted representation of
\var
{
object
}
is
Determine if the formatted representation of
\var
{
object
}
is
``readable,'' or can be used to reconstruct the value using
``readable,'' or can be used to reconstruct the value using
\function
{
eval()
}
\bifuncindex
{
eval
}
.
Note that thi
s returns false for
\function
{
eval()
}
\bifuncindex
{
eval
}
.
This alway
s returns false for
recursive objects.
recursive objects.
\begin{verbatim}
\begin{verbatim}
...
@@ -131,9 +131,9 @@ representation is not otherwise formatted.
...
@@ -131,9 +131,9 @@ representation is not otherwise formatted.
% the right margin.
% the right margin.
\begin{verbatim}
\begin{verbatim}
>>> pprint.saferepr(stuff)
>>> pprint.saferepr(stuff)
"[<Recursion on list with id=682968>, '', '/usr/local/lib/python1.
4
', '/usr/loca
"[<Recursion on list with id=682968>, '', '/usr/local/lib/python1.
5
', '/usr/loca
l/lib/python1.
4/test', '/usr/local/lib/python1.4
/sunos5', '/usr/local/lib/python
l/lib/python1.
5/test', '/usr/local/lib/python1.5
/sunos5', '/usr/local/lib/python
1.
4/sharedmodules', '/usr/local/lib/python1.4
/tkinter']"
1.
5/sharedmodules', '/usr/local/lib/python1.5
/tkinter']"
\end{verbatim}
\end{verbatim}
...
...
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