Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use crate::checkers::ast::Checker;
/// rec = 1 / n
/// print(f"reciprocal of {n} is {rec}")
/// return rec
/// except ZeroDivisionError as exc:
/// except ZeroDivisionError:
/// logging.exception("Exception occurred")
/// ```
///
Expand All @@ -37,7 +37,7 @@ use crate::checkers::ast::Checker;
/// def reciprocal(n):
/// try:
/// rec = 1 / n
/// except ZeroDivisionError as exc:
/// except ZeroDivisionError:
/// logging.exception("Exception occurred")
/// else:
/// print(f"reciprocal of {n} is {rec}")
Expand Down