corydolphin / flask-cors

Cross Origin Resource Sharing ( CORS ) support for Flask
https://flask-cors.readthedocs.io/en/latest/index.html
MIT License
884 stars 138 forks source link

Wrong PyDoc on @cross_origin decorator #261

Open andersonbfn opened 4 years ago

andersonbfn commented 4 years ago

As found in a fix on stackoverflow, I found that the arg "origins" indicated on the PyDoc for the @cross_origin decorator, has wrong name. However stackoverflow version, is working fine (by using arg name "origin" as singular). Should PyDoc be fixed? Thank's in advance.

source: decorator.py:27