summaryrefslogtreecommitdiff
path: root/shared-bindings/gnss
diff options
context:
space:
mode:
authordherrada <dylan.herrada@adafruit.com>2020-07-02 13:28:36 -0400
committerdherrada <dylan.herrada@adafruit.com>2020-07-02 13:28:36 -0400
commit54cb1feea04c0c93afe40868bc050ff7f645c61e (patch)
tree7add74472e4e33fb2a0c4c9d59cc48ce87b48255 /shared-bindings/gnss
parent522b17ca93d4e1d64bb113057c8a62992a22c4ab (diff)
Removed all 'self, )'
Diffstat (limited to 'shared-bindings/gnss')
-rw-r--r--shared-bindings/gnss/GNSS.c6
-rw-r--r--shared-bindings/gnss/PositionFix.c2
-rw-r--r--shared-bindings/gnss/SatelliteSystem.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/shared-bindings/gnss/GNSS.c b/shared-bindings/gnss/GNSS.c
index 929e02ab8..59ec038dd 100644
--- a/shared-bindings/gnss/GNSS.c
+++ b/shared-bindings/gnss/GNSS.c
@@ -53,7 +53,7 @@
//| print("Longitude: {0:.6f} degrees".format(nav.longitude))"""
//|
-//| def __init__(self, ):
+//| def __init__(self):
//| """Turn on the GNSS.
//|
//| :param gnss.SatelliteSystem system: satellite system to use"""
@@ -90,7 +90,7 @@ STATIC mp_obj_t gnss_make_new(const mp_obj_type_t *type, size_t n_args, const mp
return MP_OBJ_FROM_PTR(self);
}
-//| def deinit(self, ) -> Any:
+//| def deinit(self) -> Any:
//| """Turn off the GNSS."""
//| ...
//|
@@ -107,7 +107,7 @@ STATIC void check_for_deinit(gnss_obj_t *self) {
}
}
-//| def update(self, ) -> Any:
+//| def update(self) -> Any:
//| """Update GNSS positioning information."""
//| ...
//|
diff --git a/shared-bindings/gnss/PositionFix.c b/shared-bindings/gnss/PositionFix.c
index 106a28c34..016603f04 100644
--- a/shared-bindings/gnss/PositionFix.c
+++ b/shared-bindings/gnss/PositionFix.c
@@ -29,7 +29,7 @@
//| class PositionFix:
//| """Position fix mode"""
//|
-//| def __init__(self, ):
+//| def __init__(self):
//| """Enum-like class to define the position fix mode."""
//|
//| INVALID: Any = ...
diff --git a/shared-bindings/gnss/SatelliteSystem.c b/shared-bindings/gnss/SatelliteSystem.c
index badc02b96..6d3fb4782 100644
--- a/shared-bindings/gnss/SatelliteSystem.c
+++ b/shared-bindings/gnss/SatelliteSystem.c
@@ -29,7 +29,7 @@
//| class SatelliteSystem:
//| """Satellite system type"""
//|
-//| def __init__(self, ):
+//| def __init__(self):
//| """Enum-like class to define the satellite system type."""
//|
//| GPS: Any = ...