mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 21:10:29 +00:00
Create a default module to use as a sentinel value
This looks better in the documentation than utils.Default, cleans the utils with specific stuff like this, and users may use it more easily.
This commit is contained in:
5
telethon/default.py
Normal file
5
telethon/default.py
Normal file
@@ -0,0 +1,5 @@
|
||||
"""
|
||||
Sentinel module to signify that a parameter should use its default value.
|
||||
|
||||
Useful when the default value or ``None`` are both valid options.
|
||||
"""
|
Reference in New Issue
Block a user