Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
f33d01d3
Kaydet (Commit)
f33d01d3
authored
Agu 22, 2005
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bug [ 1266296 ] Mistakes in decimal.Context.subtract documentation
üst
7208af47
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
libdecimal.tex
Doc/lib/libdecimal.tex
+1
-1
decimal.py
Lib/decimal.py
+1
-1
cheatsheet
Misc/cheatsheet
+1
-1
No files found.
Doc/lib/libdecimal.tex
Dosyayı görüntüle @
f33d01d3
...
...
@@ -693,7 +693,7 @@ here.
Return the square root to full precision.
\end{methoddesc}
\begin{methoddesc}
{
sub
s
tract
}{
x, y
}
\begin{methoddesc}
{
subtract
}{
x, y
}
Return the difference between
\var
{
x
}
and
\var
{
y
}
.
\end{methoddesc}
...
...
Lib/decimal.py
Dosyayı görüntüle @
f33d01d3
...
...
@@ -2755,7 +2755,7 @@ class Context(object):
return
a
.
sqrt
(
context
=
self
)
def
subtract
(
self
,
a
,
b
):
"""Return the
sum of
the two operands.
"""Return the
difference between
the two operands.
>>> ExtendedContext.subtract(Decimal('1.3'), Decimal('1.07'))
Decimal("0.23")
...
...
Misc/cheatsheet
Dosyayı görüntüle @
f33d01d3
...
...
@@ -209,7 +209,7 @@ Highest Operator Comment
+x, -x, ~x Unary operators
x**y Power
x*y x/y x%y x//y mult, division, modulo, floor division
x+y x-y addition, sub
s
traction
x+y x-y addition, subtraction
x<<y x>>y Bit shifting
x&y Bitwise and
x^y Bitwise exclusive or
...
...
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