Skip to content

wrong location code in 3.4 异常 #17

@EricDong

Description

@EricDong

handling a <class 'ZeroDivisionError'>
should below
>>>x

>>> try: x = 1/0 except ZeroDivisionError as e: print('handling a', type(e)) x = 0 handling a <class 'ZeroDivisionError'> >>> x 0 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions