Make sure that generating pyapi does not throw errors (#1003)
Make sure that generating pyapi does not throw errors (#1003)

* Make sure that generating pyapi does not throw errors due to directory structureor linenos

* Update basic.py

NervanaSystems/ngraph,NervanaSystems/ngraph,NervanaSystems/ngraph,NervanaSystems/ngraph