Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • C cpython
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • cpython
  • Repository
  • cpython
  • Objects
  • stringobject.c
Find file BlameHistoryPermalink
  • Guido van Rossum's avatar
    Make the error message for unsupported operand types cleaner, in · 5c66a26d
    Guido van Rossum authored Oct 22, 2001
    response to a message by Laura Creighton on c.l.py.  E.g.
    
        >>> 0+''
        TypeError: unsupported operand types for +: 'int' and 'str'
    
    (previously this did not mention the operand types)
    
        >>> ''+0
        TypeError: cannot concatenate 'str' and 'int' objects
    5c66a26d
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7