MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/z4aic2/defer_in_python/ixu7p9h/?context=3
r/Python • u/dankey26 • Nov 25 '22
https://github.com/dankeyy/defer.py
stupid but works lol hope you like it
62 comments sorted by
View all comments
Show parent comment
1
I see, it's basically like the argparse "type" parameter. Isn't it convenient ? If you want to get the input unchanged you can always use str isn't it ?
3 u/Jonno_FTW hisss Nov 26 '22 If you want a string don't put a type hint.It's similar to argparse, except it supports discord.py custom classes as well.
3
If you want a string don't put a type hint.
It's similar to argparse, except it supports discord.py custom classes as well.
View all comments
Show parent comment
1
u/Dasher38 Nov 26 '22
I see, it's basically like the argparse "type" parameter. Isn't it convenient ? If you want to get the input unchanged you can always use str isn't it ?