Skip to content

Conversation

cdunn2001
Copy link
Contributor

See #5827

I put the test in the file, as per doc/contributing.rst

Also fixed a couple comments, as per doc/contributing.rst ("Writing tests": "Stdlib")

How to use this:

import typetraits
echo(type(42))
int

Type descriptions
-----------------

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's misleading to have this in tut1. Users coming from Python should instead learn to use "nimsuggest" instead. Types are not runtime values, you don't need to 'echo' them.

Araq added a commit that referenced this pull request Oct 30, 2017
@Araq
Copy link
Member

Araq commented Oct 30, 2017

Merged manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants