unittest.mock.Mock.mock_add_spec()
  • References/Python/Python/Development Tools

mock_add_spec(spec, spec_set=False) Add a spec to a mock. spec can either be an object or a list of strings. Only attributes

2025-01-10 15:47:30
typing.MappingView
  • References/Python/Python/Development Tools

class typing.MappingView(Sized, Iterable[T_co]) A generic version of

2025-01-10 15:47:30
turtle.getturtle()
  • References/Python/Python/Frameworks

turtle.getturtle() turtle.getpen() Return the Turtle object itself. Only reasonable use: as a function to return

2025-01-10 15:47:30
gis.geos.GEOSGeometry.json
  • References/Python/Django/API/GEOS API

GEOSGeometry.json Returns the GeoJSON representation of the geometry. Note that the result is not a complete GeoJSON structure

2025-01-10 15:47:30
mmap.mmap.close()
  • References/Python/Python/Networking

close() Closes the mmap. Subsequent calls to other methods of the object will result in a ValueError exception being raised

2025-01-10 15:47:30
gis.geos.GEOSGeometry.clone()
  • References/Python/Django/API/GEOS API

GEOSGeometry.clone() This method returns a GEOSGeometry that is a clone of the original.

2025-01-10 15:47:30
gis.gdal.GDALBand.max
  • References/Python/Django/API/GDAL API

max The maximum pixel value of the band (excluding the “no data” value).

2025-01-10 15:47:30
views.generic.detail.SingleObjectMixin.slug_field
  • References/Python/Django/API/Single object mixins

slug_field The name of the field on the model that contains the slug. By default, slug_field is 'slug'

2025-01-10 15:47:30
views.generic.dates.BaseDateDetailView
  • References/Python/Django/API/Built-in class-based views API/Generic date views

class BaseDateDetailView [source]

2025-01-10 15:47:30
stat.S_ISPORT()
  • References/Python/Python/File & Directory Access

stat.S_ISPORT(mode) Return non-zero if the mode is from an event port.

2025-01-10 15:47:30