mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Minor typos fixes
This commit is contained in:
parent
05399ecaa1
commit
3c99b171f6
7 changed files with 20 additions and 21 deletions
|
|
@ -15,8 +15,8 @@ class BaseField(metaclass=abc.ABCMeta):
|
|||
|
||||
:param base: class for child element
|
||||
:param default: default value
|
||||
:param alias: alias name (for e.g. field named 'from' must be has name 'from_user'
|
||||
('from' is builtin Python keyword)
|
||||
:param alias: alias name (for e.g. field 'from' has to be named 'from_user'
|
||||
as 'from' is a builtin Python keyword
|
||||
"""
|
||||
self.base_object = base
|
||||
self.default = default
|
||||
|
|
@ -34,7 +34,7 @@ class BaseField(metaclass=abc.ABCMeta):
|
|||
|
||||
def get_value(self, instance):
|
||||
"""
|
||||
Get value for current object instance
|
||||
Get value for the current object instance
|
||||
|
||||
:param instance:
|
||||
:return:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue