Skip to content

Commit e0efdb5

Browse files
authored
DOC: Try to keep <code> tags from appearing in rendered docs
https://unidata.github.io/netcdf4-python/#netCDF4.Dataset Scroll down to `format`: underlying file format. Not sure if this should be ReST's ``code`` or Markdown's `code`, though the default role Sphinx assigns to single quotes should work (:any:`code`, I think is how sphinx would interpret `code`). In any case, it works everywhere else, so hopefully it works here too.
1 parent f7b00f8 commit e0efdb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/netCDF4/_netCDF4.pyx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2331,8 +2331,8 @@ strings.
23312331
exception will be raised if a file with the same name already exists.
23322332
mode=`x` is identical to mode=`w` with clobber=False.
23332333
2334-
**`format`**: underlying file format (one of `'NETCDF4',
2335-
'NETCDF4_CLASSIC', 'NETCDF3_CLASSIC'`, `'NETCDF3_64BIT_OFFSET'` or
2334+
**`format`**: underlying file format (one of `'NETCDF4'`,
2335+
`'NETCDF4_CLASSIC'`, `'NETCDF3_CLASSIC'`, `'NETCDF3_64BIT_OFFSET'` or
23362336
`'NETCDF3_64BIT_DATA'`.
23372337
Only relevant if `mode = 'w'` (if `mode = 'r','a'` or `'r+'` the file format
23382338
is automatically detected). Default `'NETCDF4'`, which means the data is

0 commit comments

Comments
 (0)