Bizarre error from help()

Discussion in 'Python' started by Roy Smith, Aug 10, 2005.

  1. Roy Smith

    Roy Smith Guest

    Can anybody explain this bizarre behavior:

    ---------------------
    Roy-Smiths-Computer:play$ py
    Python 2.3.4 (#3, Jun 29 2004, 21:48:03)
    [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
    >>> help (isinstance)

    foos bars bazes
    Foo
    Traceback (most recent call last):
    File "<stdin>", line 1, in ?
    File "/usr/local/lib/python2.3/site.py", line 307, in __call__
    import pydoc
    File "/usr/local/lib/python2.3/pydoc.py", line 49, in ?
    from string import expandtabs, find, join, lower, split, strip, rfind,
    rstrip
    ImportError: cannot import name expandtabs
    >>>

    ---------------------
     
    Roy Smith, Aug 10, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    394
  2. omission9
    Replies:
    3
    Views:
    343
    Ziaran
    Feb 23, 2004
  3. Delaney, Timothy (Tim)

    RE: Bizarre error from help()

    Delaney, Timothy (Tim), Aug 10, 2005, in forum: Python
    Replies:
    14
    Views:
    593
    Bengt Richter
    Aug 11, 2005
  4. Neo Geshel

    Bizarre literal.text error

    Neo Geshel, Feb 25, 2007, in forum: ASP .Net
    Replies:
    4
    Views:
    408
    Tim Clark
    Feb 26, 2007
  5. Replies:
    11
    Views:
    622
    bhadorn
    Aug 12, 2007
Loading...

Share This Page