PEP 542: Resolve uses of the default role (#3380)

This commit is contained in:
Adam Turner 2023-09-01 20:19:39 +01:00 committed by GitHub
parent ba1a43836f
commit 1b262f6056
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ Similar to how decorators are syntastic sugar::
Implementation
==============
The `__name__` would follow the principles of a normal function::
The ``__name__`` would follow the principles of a normal function::
class MyClass:
def my_function1(self):
@ -146,7 +146,7 @@ The `__name__` would follow the principles of a normal function::
assert my_function1.__name__ == 'my_function1'
assert my_function2.__name__ == 'my_function2'
The grammar would use `dotted_name` to support chaining of attributes::
The grammar would use ``dotted_name`` to support chaining of attributes::
def Person.name.fset(self, value):
self._name = value