Skip to content

Commit

Permalink
Merge pull request #270 from cdeil/cython3
Browse files Browse the repository at this point in the history
Set cython: language_level=3
  • Loading branch information
cdeil committed Jun 10, 2019
2 parents 7bd233d + 0787616 commit 66ab0cd
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions regions/_geometry/circular_overlap.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
# cython: language_level=3
"""
The functions defined here allow one to determine the exact area of
overlap of a rectangle and a circle (written by Thomas Robitaille).
Expand Down
1 change: 1 addition & 0 deletions regions/_geometry/core.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
# cython: language_level=3
"""The functions here are the core geometry functions."""

from __future__ import (absolute_import, division, print_function,
Expand Down
1 change: 1 addition & 0 deletions regions/_geometry/elliptical_overlap.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
# cython: language_level=3
"""
The functions defined here allow one to determine the exact area of
overlap of an ellipse and a triangle (written by Thomas Robitaille).
Expand Down
1 change: 1 addition & 0 deletions regions/_geometry/pnpoly.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
# cython: language_level=3
#
# The code in this file was adapted from code written by Greg von Winckel:
#
Expand Down
2 changes: 1 addition & 1 deletion regions/_geometry/polygonal_overlap.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

# cython: language_level=3
from __future__ import (absolute_import, division, print_function,
unicode_literals)

Expand Down
1 change: 1 addition & 0 deletions regions/_geometry/rectangular_overlap.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
# cython: language_level=3
from __future__ import (absolute_import, division, print_function,
unicode_literals)

Expand Down

0 comments on commit 66ab0cd

Please sign in to comment.