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. Advertisements

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:
    469
  2. Simon Pryor
    Replies:
    5
    Views:
    1,291
    Peter Kragh
    Jun 17, 2004
  3. omission9
    Replies:
    3
    Views:
    458
    Ziaran
    Feb 23, 2004
  4. Delaney, Timothy (Tim)

    RE: Bizarre error from help()

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

    Bizarre literal.text error

    Neo Geshel, Feb 25, 2007, in forum: ASP .Net
    Replies:
    4
    Views:
    534
    Tim Clark
    Feb 26, 2007
  6. Replies:
    11
    Views:
    722
    bhadorn
    Aug 12, 2007
  7. Jay Robinson

    Bizarre Web Service Error

    Jay Robinson, Oct 17, 2003, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    215
    Dino Chiesa [Microsoft]
    Oct 21, 2003
  8. Kevin Audleman

    Bizarre error in cmd.CreateParameter

    Kevin Audleman, Apr 18, 2006, in forum: ASP General
    Replies:
    11
    Views:
    451
    Aaron Bertrand [SQL Server MVP]
    May 1, 2006
Loading...