summaryrefslogtreecommitdiffstats
path: root/Misc/cheatsheet
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-08-29 04:39:12 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-08-29 04:39:12 (GMT)
commit3bd844e695c8295c23d64d816bd763543cc9728f (patch)
tree5c8ae0b247d082498a3e9c02e1eeca9af6a1f0c2 /Misc/cheatsheet
parentc4996ba794d9438be8e472ad5f6c3c55fbf751e8 (diff)
downloadcpython-3bd844e695c8295c23d64d816bd763543cc9728f.zip
cpython-3bd844e695c8295c23d64d816bd763543cc9728f.tar.gz
cpython-3bd844e695c8295c23d64d816bd763543cc9728f.tar.bz2
Get rid of most of the remaining uses of <>. There's still Tools/* thogh.
Diffstat (limited to 'Misc/cheatsheet')
-rw-r--r--Misc/cheatsheet8
1 files changed, 3 insertions, 5 deletions
diff --git a/Misc/cheatsheet b/Misc/cheatsheet
index bab109a..de55869 100644
--- a/Misc/cheatsheet
+++ b/Misc/cheatsheet
@@ -215,7 +215,6 @@ Highest Operator Comment
x^y Bitwise exclusive or
x|y Bitwise or
x<y x<=y x>y x>=y x==y x!=y Comparison,
- x<>y identity,
x is y x is not y membership
x in s x not in s
not x boolean negation
@@ -241,7 +240,7 @@ Comparison Meaning Notes
> strictly greater than
>= greater than or equal to
== equal to
-!= or <> not equal to
+!= not equal to
is object identity (2)
is not negated object identity (2)
@@ -1009,9 +1008,8 @@ reload(module) after fixing it. If module was syntacticallycorrect but had
an error in initialization, mustimport it one more time
before calling reload().
Returns a string containing a printable and if possible
-repr(object) evaluable representation of an object. <=> `object`
- (usingbackquotes). Class redefinissable (__repr__). See
- also str()
+repr(object) evaluable representation of an object.
+ Class redefinable (__repr__). See also str().
round(x, n=0) Returns the floating point value x rounded to n digitsafter
the decimal point.
setattr(object, This is the counterpart of getattr().setattr(o, 'foobar',