]> granicus.if.org Git - python/commit
SF bug #501591: dir() doc is old
authorTim Peters <tim.peters@gmail.com>
Sat, 23 Feb 2002 04:40:15 +0000 (04:40 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 23 Feb 2002 04:40:15 +0000 (04:40 +0000)
commit9f4341b3b0e7bfe886066bcbed484f3041cca7ef
treeec17fae14007fd7f5c2a9aa5e444d1a8245614d2
parentf8b1f2431bd5dca75a82015e890b39e5071e6f87
SF bug #501591:  dir() doc is old
Bugfix candidate.

+ Updated dir() description to match actual 2.2 behavior.

+ Replaced the dir(sys) example with dir(struct), because the former
  was way out of date and is bound to change frequently, while the
  latter is stable.

+ Added a note cautioning that dir() is supplied primarily for
  convenience at an interactive prompt (hoping to discourage its
  use as the foundation of introspective code outside the core).
Doc/lib/libfuncs.tex