What are you working on? - Programming On Unix
Users browsing this thread: 60 Guest(s)
|
|||
(13-06-2015, 04:00 PM)pizzaroll1 Wrote:Type hints are for python3 and I've been using python2. In all cases, I put the type in the docstring just as a reminder to what the function does.(13-06-2015, 12:56 PM)venam Wrote: You could help with https://github.com/nixers-projects/tty-week-timer.'ll definitely be taking part in that challenge, so maybe I will help out with that. I do have a question, though. Instead of specifying the type in the docstrings, why not use PEP 484 type hints? As it is, the docstring types look a bit odd, and using type hints means you could actually check the types using something like mypy, if you wanted. Also, like I said, the project is pretty messy. |
|||