nerdocs / pydifact

A python EDIFACT library.
MIT License
154 stars 45 forks source link

Fix: example usage code in the readme file #38

Closed nimarb closed 3 years ago

nimarb commented 3 years ago

Hi, (amazing code btw, thanks a ton!) Noticed a small typo while diving into the code -> get_segments() requires the name of a segment as argument and returns all segments of that type. I think in the example just iterating over the segments is meant.

Cheers