Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
baf598d4
Commit
baf598d4
authored
May 01, 2003
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backslash normalization.
parent
b8ce1598
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/guide/modules.tex
doc/guide/modules.tex
+3
-3
No files found.
doc/guide/modules.tex
View file @
baf598d4
...
@@ -170,7 +170,7 @@ Total ordering means three things:
...
@@ -170,7 +170,7 @@ Total ordering means three things:
\item
Transitivity. Whenever
\code
{
\var
{
x
}
<=
\var
{
y
}}
and
\item
Transitivity. Whenever
\code
{
\var
{
x
}
<=
\var
{
y
}}
and
\code
{
\var
{
y
}
<=
\var
{
z
}}
, it's also true that
\code
{
\var
{
y
}
<=
\var
{
z
}}
, it's also true that
\code
{
\var
{
x
}
<=
\var
{
z
}}
.
\code
{
\var
{
x
}
<=
\var
{
z
}}
.
end
{
enumerate
}
\
end{enumerate}
The default comparison functions for most objects that come with Python
The default comparison functions for most objects that come with Python
satisfy these rules, with some crucial cautions explained later. Complex
satisfy these rules, with some crucial cautions explained later. Complex
...
@@ -268,7 +268,7 @@ results within a single program run).
...
@@ -268,7 +268,7 @@ results within a single program run).
Another problem occurs with instances of classes that do define
Another problem occurs with instances of classes that do define
\method
{__
cmp
__
()
}
, but define it incorrectly. It's possible but
\method
{__
cmp
__
()
}
, but define it incorrectly. It's possible but
rare for a custom
\method
\
{
__
cmp
__
()
}
implementation to violate one
rare for a custom
\method
{__
cmp
__
()
}
implementation to violate one
of the three required formal properties directly. It's more common for
of the three required formal properties directly. It's more common for
it to fall back" to address-based comparison by mistake.
it to fall back" to address-based comparison by mistake.
For example,
For example,
...
@@ -313,4 +313,4 @@ only with great care:
...
@@ -313,4 +313,4 @@ only with great care:
Any part of a comparison implementation that relies (explicitly
Any part of a comparison implementation that relies (explicitly
or implicitly) on an address-based comparison result will
or implicitly) on an address-based comparison result will
eventually cause serious failure.
eventually cause serious failure.
end
{
enumerate
}
\
end{enumerate}
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