Repository navigation
zavod #48: Рукописные уроки 65–72 - #38
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3a5a538028
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| _term( | ||
| "oop-advanced-properties", | ||
| "Каким декоратором помечают метод, чтобы обращаться к нему как к атрибуту?", | ||
| ["@property", "property", "декоратор property", "@property()"], |
There was a problem hiding this comment.
Reject the invalid
@property() spelling
When a learner enters @property(), this answer is marked correct even though it is not valid decorator syntax for defining a property: property() first creates a property object without a getter, and Python then tries to call that object with the decorated method, raising TypeError. Accept only @property (and unambiguous textual variants), otherwise this lesson positively reinforces code that cannot define the requested property.
Useful? React with 👍 / 👎.
Рукописные уроки 65–72
Круг: 1
Критерии
Изменённые файлы
app/handwritten/lessons_oop.pytests/test_handwritten_oop.py