Message178457
| Author |
terry.reedy |
| Recipients |
larry, mark.dickinson, r.david.murray, terry.reedy |
| Date |
2012年12月29日.01:26:48 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1356744411.51.0.317795498804.issue16801@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
David is correct
>>> dbm.open.__doc__
"Open or create database at path given by *file*.\n\n Optional argument *flag* can be 'r' (default) for read-only access, 'w'\n for read-write access of an existing database, 'c' for read-write access\n to a new or existing database, and 'n' for read-write access to a new\n database.\n\n Note: 'r' and 'w' fail if the database doesn't exist; 'c' creates it\n only if it doesn't exist; and 'n' always creates a new database.\n "
>>> help(dbm.open)
Help on function open in module dbm:
open(file, flag='r', mode=438)
Open or create database at path given by *file*.
...
IDLE tooltip (still using inspect.getfullargspec) also shows
open(file, flag='r', mode=438)
The int comes from dbm.open.__defaults__[1]
438 |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年12月29日 01:26:55 | terry.reedy | set | recipients:
+ terry.reedy, mark.dickinson, larry, r.david.murray |
| 2012年12月29日 01:26:51 | terry.reedy | set | messageid: <1356744411.51.0.317795498804.issue16801@psf.upfronthosting.co.za> |
| 2012年12月29日 01:26:51 | terry.reedy | link | issue16801 messages |
| 2012年12月29日 01:26:48 | terry.reedy | create |
|