Lecture step 2: decorator skeleton #8

Closed
opened 2026-11-06 05:37:08 +01:00 by Tirsvad · 0 comments
Owner

Write speed_calc_decorator(function) that returns a wrapper calling the function and preserving its metadata with functools.wraps. Test that the result and name are preserved.

Phase: MIL-002

Write `speed_calc_decorator(function)` that returns a wrapper calling the function and preserving its metadata with `functools.wraps`. Test that the result and name are preserved. Phase: MIL-002
Tirsvad added this to the Speed calc decorator milestone 2026-11-06 05:37:08 +01:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Tirsvad-Udemy-100-days-of-code/054-speed-calc-decorator#8