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
55be9eab
Commit
55be9eab
authored
Sep 10, 2004
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo fix: 'comparisions' is not a word
parent
2cc0c300
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
Doc/lib/libdifflib.tex
Doc/lib/libdifflib.tex
+1
-1
Doc/lib/libstdtypes.tex
Doc/lib/libstdtypes.tex
+1
-1
Lib/difflib.py
Lib/difflib.py
+1
-1
Misc/cheatsheet
Misc/cheatsheet
+1
-1
Objects/listobject.c
Objects/listobject.c
+1
-1
No files found.
Doc/lib/libdifflib.tex
View file @
55be9eab
...
...
@@ -55,7 +55,7 @@
\begin{classdesc*}
{
HtmlDiff
}
This class can be used to create an HTML table (or a complete HTML file
containing the table) showing a side by side, line by line comparis
i
on
containing the table) showing a side by side, line by line comparison
of text with inter-line and intra-line change highlights. The table can
be generated in either full or contextual difference mode.
...
...
Doc/lib/libstdtypes.tex
View file @
55be9eab
...
...
@@ -1092,7 +1092,7 @@ Notes:
the sorted or reversed list.
\item
[(8)]
The
\method
{
sort()
}
method takes optional arguments for
controlling the comparis
i
ons.
controlling the comparisons.
\var
{
cmp
}
specifies a custom comparison function of two arguments
(list items) which should return a negative, zero or positive number
...
...
Lib/difflib.py
View file @
55be9eab
...
...
@@ -1603,7 +1603,7 @@ class HtmlDiff(object):
"""For producing HTML side by side comparison with change highlights.
This class can be used to create an HTML table (or a complete HTML file
containing the table) showing a side by side, line by line comparis
i
on
containing the table) showing a side by side, line by line comparison
of text with inter-line and intra-line change highlights. The table can
be generated in either full or contextual difference mode.
...
...
Misc/cheatsheet
View file @
55be9eab
...
...
@@ -248,7 +248,7 @@ is not negated object identity (2)
Notes :
Comparison behavior can be overridden for a given class by defining special
method __cmp__.
The above comparis
i
ons return True or False which are of type bool
The above comparisons return True or False which are of type bool
(a subclass of int) and behave exactly as 1 or 0 except for their type and
that they print as True or False instead of 1 or 0.
(1) X < Y < Z < W has expected meaning, unlike C
...
...
Objects/listobject.c
View file @
55be9eab
...
...
@@ -1759,7 +1759,7 @@ merge_compute_minrun(int n)
}
/* Special wrapper to support stable sorting using the decorate-sort-undecorate
pattern. Holds a key which is used for comparis
i
ons and the original record
pattern. Holds a key which is used for comparisons and the original record
which is returned during the undecorate phase. By exposing only the key
during comparisons, the underlying sort stability characteristics are left
unchanged. Also, if a custom comparison function is used, it will only see
...
...
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