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
e24fef0d
Kaydet (Commit)
e24fef0d
authored
Haz 05, 2001
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix bug #422702: Make flag argument to open optional, and document it that way.
üst
2750bcc2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
libdbhash.tex
Doc/lib/libdbhash.tex
+1
-1
dbhash.py
Lib/dbhash.py
+1
-1
No files found.
Doc/lib/libdbhash.tex
Dosyayı görüntüle @
e24fef0d
...
...
@@ -21,7 +21,7 @@ This module provides an exception and a function:
\exception
{
KeyError
}
. It is a synonym for
\exception
{
bsddb.error
}
.
\end{excdesc}
\begin{funcdesc}
{
open
}{
path,
flag
\optional
{
, mode
}}
\begin{funcdesc}
{
open
}{
path,
\optional
{
, flag
\optional
{
, mode
}
}}
Open a
\code
{
db
}
database and return the database object. The
\var
{
path
}
argument is the name of the database file.
...
...
Lib/dbhash.py
Dosyayı görüntüle @
e24fef0d
...
...
@@ -12,5 +12,5 @@ __all__ = ["error","open"]
error
=
bsddb
.
error
# Exported for anydbm
def
open
(
file
,
flag
,
mode
=
0666
):
def
open
(
file
,
flag
=
'r'
,
mode
=
0666
):
return
bsddb
.
hashopen
(
file
,
flag
,
mode
)
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