From 9a83e95a60f1ae90cc920099bae15d8ba6ba2348 Mon Sep 17 00:00:00 2001 From: Clarence Bakosi Date: Fri, 12 Dec 2025 17:22:12 +0100 Subject: [PATCH] fix(curriculum): Add backticks to @property (#64561) --- .../68c128cbd77e4ba9ed671937.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/blocks/lecture-understanding-object-oriented-programming-and-encapsulation/68c128cbd77e4ba9ed671937.md b/curriculum/challenges/english/blocks/lecture-understanding-object-oriented-programming-and-encapsulation/68c128cbd77e4ba9ed671937.md index 14e154bf9d4..43f2596a5fb 100644 --- a/curriculum/challenges/english/blocks/lecture-understanding-object-oriented-programming-and-encapsulation/68c128cbd77e4ba9ed671937.md +++ b/curriculum/challenges/english/blocks/lecture-understanding-object-oriented-programming-and-encapsulation/68c128cbd77e4ba9ed671937.md @@ -21,9 +21,9 @@ When you use a method, you always have to call it with parentheses. But with a p For example, you might want to calculate a value or check that a new value is valid before saving it. Instead of calling a method for that, you can use an attribute-like way to do that. -To create a property, you define a method and place the @property decorator above it. This tells Python to treat the method as a property. +To create a property, you define a method and place the `@property` decorator above it. This tells Python to treat the method as a property. -That takes us to getters. Here's how to create one with the @property decorator: +That takes us to getters. Here's how to create one with the `@property` decorator: ```py class Circle: