Skip to content

Commit c85e7cf

Browse files
committed
fix docstring formatting
1 parent ab3e123 commit c85e7cf

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎src/netCDF4/_netCDF4.pyx‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,7 +1320,7 @@ if __has_nc_rc_set__:
13201320

13211321
def rc_get(key):
13221322
"""
1323-
**`rc_key(key)`**
1323+
**```rc_get(key)```**
13241324
13251325
Returns the internal netcdf-c rc table value corresponding to key.
13261326
"""
@@ -1337,7 +1337,7 @@ Returns the internal netcdf-c rc table value corresponding to key.
13371337

13381338
def rc_set(key, value):
13391339
"""
1340-
**`rc_set(key, value)`**
1340+
**```rc_set(key, value)```**
13411341
13421342
Sets the internal netcdf-c rc table value corresponding to key.
13431343
"""
@@ -1371,7 +1371,7 @@ def _gethdf5libversion():
13711371

13721372
def getlibversion():
13731373
"""
1374-
**`getlibversion()`**
1374+
**```getlibversion()```**
13751375
13761376
returns a string describing the version of the netcdf library
13771377
used to build the module, and when it was built.
@@ -1380,7 +1380,7 @@ used to build the module, and when it was built.
13801380

13811381
def get_chunk_cache():
13821382
"""
1383-
**`get_chunk_cache()`**
1383+
**```get_chunk_cache()```**
13841384
13851385
return current netCDF chunk cache information in a tuple (size,nelems,preemption).
13861386
See netcdf C library documentation for `nc_get_chunk_cache` for
@@ -1396,7 +1396,7 @@ details. Values can be reset with `set_chunk_cache`."""
13961396

13971397
def set_chunk_cache(size=None,nelems=None,preemption=None):
13981398
"""
1399-
**`set_chunk_cache(self,size=None,nelems=None,preemption=None)`**
1399+
**```set_chunk_cache(size=None,nelems=None,preemption=None)```**
14001400
14011401
change netCDF4 chunk cache settings.
14021402
See netcdf C library documentation for `nc_set_chunk_cache` for
@@ -1424,7 +1424,7 @@ details."""
14241424

14251425

14261426
def get_alignment():
1427-
"""**`get_alignment()`**
1427+
"""**```get_alignment()```**
14281428
14291429
return current netCDF alignment within HDF5 files in a tuple
14301430
(threshold,alignment). See netcdf C library documentation for
@@ -1448,7 +1448,7 @@ def get_alignment():
14481448

14491449

14501450
def set_alignment(threshold, alignment):
1451-
"""**`set_alignment(threshold,alignment)`**
1451+
"""**```set_alignment(threshold,alignment)```**
14521452
14531453
Change the HDF5 file alignment.
14541454
See netcdf C library documentation for `nc_set_alignment` for

0 commit comments

Comments
 (0)