Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
bb2d4a83
Commit
bb2d4a83
authored
May 01, 2003
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backslash normalization.
parent
4e054661
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 @
bb2d4a83
...
...
@@ -170,7 +170,7 @@ Total ordering means three things:
\item
Transitivity. Whenever
\code
{
\var
{
x
}
<=
\var
{
y
}}
and
\code
{
\var
{
y
}
<=
\var
{
z
}}
, it's also true that
\code
{
\var
{
x
}
<=
\var
{
z
}}
.
end
{
enumerate
}
\
end{enumerate}
The default comparison functions for most objects that come with Python
satisfy these rules, with some crucial cautions explained later. Complex
...
...
@@ -268,7 +268,7 @@ results within a single program run).
Another problem occurs with instances of classes that do define
\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
it to fall back" to address-based comparison by mistake.
For example,
...
...
@@ -313,4 +313,4 @@ only with great care:
Any part of a comparison implementation that relies (explicitly
or implicitly) on an address-based comparison result will
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