Info

Description

The Info object contains all names, numbers, URLs, dimensions, values, etc. that would otherwise clutter up the font object. You don’t have to create a Info object yourself, Font makes one when it is created.

Info validates any value set for a Info <BaseInfo> item, but does not check if the data is sane (i.e., you can set valid but incorrect data).

The Info object (as any other fontParts object) does not allow to modify mutable containers (like lists) in-place. Always get a value, modify it and then set it back to perform an edit.

For a list of info attributes, refer to the UFO fontinfo.plist Specification.

Overview

BaseInfo.familyName

Family name.

BaseInfo.styleName

Style name.

BaseInfo.styleMapFamilyName

Family name used for bold, italic and bold italic style mapping.

BaseInfo.styleMapStyleName

Style map style.

BaseInfo.versionMajor

Major version.

BaseInfo.versionMinor

Minor version.

BaseInfo.year

The year the font was created.

BaseInfo.copyright

Copyright statement.

BaseInfo.trademark

Trademark statement.

BaseInfo.unitsPerEm

Units per em.

BaseInfo.descender

Descender value.

BaseInfo.xHeight

x-height value.

BaseInfo.capHeight

Cap height value.

BaseInfo.ascender

Ascender value.

BaseInfo.italicAngle

Italic angle.

BaseInfo.note

Arbitrary note about the font.

BaseInfo.openTypeHeadCreated

Creation date.

BaseInfo.openTypeHeadLowestRecPPEM

Smallest readable size in pixels.

BaseInfo.openTypeHeadFlags

A list of bit numbers indicating the flags.

BaseInfo.openTypeHheaAscender

Ascender value.

BaseInfo.openTypeHheaDescender

Descender value.

BaseInfo.openTypeHheaLineGap

Line gap value.

BaseInfo.openTypeHheaCaretSlopeRise

Caret slope rise value.

BaseInfo.openTypeHheaCaretSlopeRun

Caret slope run value.

BaseInfo.openTypeHheaCaretOffset

Caret offset value.

BaseInfo.openTypeNameDesigner

Designer name.

BaseInfo.openTypeNameDesignerURL

URL for the designer.

BaseInfo.openTypeNameManufacturer

Manufacturer name.

BaseInfo.openTypeNameManufacturerURL

Manufacturer URL.

BaseInfo.openTypeNameLicense

License text.

BaseInfo.openTypeNameLicenseURL

URL for the license.

BaseInfo.openTypeNameVersion

Version string.

BaseInfo.openTypeNameUniqueID

Unique ID string.

BaseInfo.openTypeNameDescription

Description of the font.

BaseInfo.openTypeNamePreferredFamilyName

Preferred family name.

BaseInfo.openTypeNamePreferredSubfamilyName

Preferred subfamily name.

BaseInfo.openTypeNameCompatibleFullName

Compatible full name.

BaseInfo.openTypeNameSampleText

Sample text.

BaseInfo.openTypeNameWWSFamilyName

WWS family name.

BaseInfo.openTypeNameWWSSubfamilyName

WWS Subfamily name.

BaseInfo.openTypeOS2WidthClass

Width class value.

BaseInfo.openTypeOS2WeightClass

Weight class value.

BaseInfo.openTypeOS2Selection

A list of bit numbers indicating the bits that should be set in fsSelection.

BaseInfo.openTypeOS2VendorID

Four character identifier for the creator of the font.

BaseInfo.openTypeOS2Panose

The list should contain 10 integers that represent the setting for each category in the Panose specification.

BaseInfo.openTypeOS2FamilyClass

Two integers representing the IBM font class and font subclass of the font.

BaseInfo.openTypeOS2UnicodeRanges

A list of bit numbers that are supported Unicode ranges in the font.

BaseInfo.openTypeOS2CodePageRanges

A list of bit numbers that are supported code page ranges in the font.

BaseInfo.openTypeOS2TypoAscender

Ascender value.

BaseInfo.openTypeOS2TypoDescender

Descender value.

BaseInfo.openTypeOS2TypoLineGap

Line gap value.

BaseInfo.openTypeOS2WinAscent

Ascender value.

BaseInfo.openTypeOS2WinDescent

Descender value.

BaseInfo.openTypeOS2Type

A list of bit numbers indicating the embedding type.

BaseInfo.openTypeOS2SubscriptXSize

Subscript horizontal font size.

BaseInfo.openTypeOS2SubscriptYSize

Subscript vertical font size.

BaseInfo.openTypeOS2SubscriptXOffset

Subscript x offset.

BaseInfo.openTypeOS2SubscriptYOffset

Subscript y offset.

BaseInfo.openTypeOS2SuperscriptXSize

Superscript horizontal font size.

BaseInfo.openTypeOS2SuperscriptYSize

Superscript vertical font size.

BaseInfo.openTypeOS2SuperscriptXOffset

Superscript x offset.

BaseInfo.openTypeOS2SuperscriptYOffset

Superscript y offset.

BaseInfo.openTypeOS2StrikeoutSize

Strikeout size.

BaseInfo.openTypeOS2StrikeoutPosition

Strikeout position.

BaseInfo.openTypeVheaVertTypoAscender

Ascender value.

BaseInfo.openTypeVheaVertTypoDescender

Descender value.

BaseInfo.openTypeVheaVertTypoLineGap

Line gap value.

BaseInfo.openTypeVheaCaretSlopeRise

Caret slope rise value.

BaseInfo.openTypeVheaCaretSlopeRun

Caret slope run value.

BaseInfo.openTypeVheaCaretOffset

Caret offset value.

BaseInfo.postscriptFontName

Name to be used for the FontName field in Type 1/CFF table.

BaseInfo.postscriptFullName

Name to be used for the FullName field in Type 1/CFF table.

BaseInfo.postscriptSlantAngle

Artificial slant angle.

BaseInfo.postscriptUniqueID

A unique ID number as defined in the Type 1/CFF specification.

BaseInfo.postscriptUnderlineThickness

Underline thickness value.

BaseInfo.postscriptUnderlinePosition

Underline position value.

BaseInfo.postscriptIsFixedPitch

Indicates if the font is monospaced.

BaseInfo.postscriptBlueValues

A list of up to 14 integers or floats specifying the values that should be in the Type 1/CFF BlueValues field.

BaseInfo.postscriptOtherBlues

A list of up to 10 integers or floats specifying the values that should be in the Type 1/CFF OtherBlues field.

BaseInfo.postscriptFamilyBlues

A list of up to 14 integers or floats specifying the values that should be in the Type 1/CFF FamilyBlues field.

BaseInfo.postscriptFamilyOtherBlues

A list of up to 10 integers or floats specifying the values that should be in the Type 1/CFF FamilyOtherBlues field.

BaseInfo.postscriptStemSnapH

List of horizontal stems sorted in increasing order.

BaseInfo.postscriptStemSnapV

List of vertical stems sorted in increasing order.

BaseInfo.postscriptBlueFuzz

BlueFuzz value.

BaseInfo.postscriptBlueShift

BlueShift value.

BaseInfo.postscriptBlueScale

BlueScale value.

BaseInfo.postscriptForceBold

Indicates how the Type 1/CFF ForceBold field should be set.

BaseInfo.postscriptDefaultWidthX

Default width for glyphs.

BaseInfo.postscriptNominalWidthX

Nominal width for glyphs.

BaseInfo.postscriptWeightName

A string indicating the overall weight of the font.

BaseInfo.postscriptDefaultCharacter

The name of the glyph that should be used as the default character in PFM files.

BaseInfo.postscriptWindowsCharacterSet

The Windows character set.

BaseInfo.copy

Copy the current object into a new object of the same type.

BaseInfo.font

Get or set the info's parent font object.

BaseInfo.interpolate

Interpolate all possible data in the current info object.

BaseInfo.round

Round the following attributes to the nearest integer:

BaseInfo.update

Update the current info object with the values from another.

BaseInfo.naked

Return the environment's native object wrapped by the current object.

BaseInfo.changed

Tell the environment that something has changed in the object.

Reference

class fontParts.base.BaseInfo(*args: Any, **kwargs: Any)[source]

Represent the basis for a font info object.

Attributes

BaseInfo.familyName: str | None

Family name.

BaseInfo.styleName: str | None

Style name.

BaseInfo.styleMapFamilyName: str | None

Family name used for bold, italic and bold italic style mapping.

BaseInfo.styleMapStyleName: str | None

Style map style.

The possible values are regular, italic, bold and bold italic. These are case sensitive.

BaseInfo.versionMajor: int | None

Major version.

BaseInfo.versionMinor: int | None

Minor version.

BaseInfo.year: int | None

The year the font was created.

This attribute is deprecated as of version 2. It’s presence should not be relied upon by applications. However, it may occur in a font’s info so applications should preserve it if present.

BaseInfo.copyright: str | None

Copyright statement.

BaseInfo.trademark: str | None

Trademark statement.

BaseInfo.unitsPerEm: int | float

Units per em.

BaseInfo.descender: int | float

Descender value.

BaseInfo.xHeight: int | float

x-height value.

BaseInfo.capHeight: int | float

Cap height value.

BaseInfo.ascender: int | float

Ascender value.

BaseInfo.italicAngle: int | float

Italic angle.

BaseInfo.note: str | None

Arbitrary note about the font.

BaseInfo.openTypeHeadCreated: str | None

Creation date.

Expressed as a string of the format “YYYY/MM/DD HH:MM:SS”. “YYYY/MM/DD” is year/month/day. The month should be in the range 1-12 and the day should be in the range 1-end of month. “HH:MM:SS” is hour:minute:second. The hour should be in the range 0:23. The minute and second should each be in the range 0-59.

BaseInfo.openTypeHeadLowestRecPPEM: int | float

Smallest readable size in pixels.

Corresponds to the OpenType head table lowestRecPPEM field.

BaseInfo.openTypeHeadFlags: list[int] | None

A list of bit numbers indicating the flags.

The bit numbers are listed in the OpenType head specification. Corresponds to the OpenType head table flags field.

BaseInfo.openTypeHheaAscender: int | float

Ascender value.

Corresponds to the OpenType hhea table Ascender field.

BaseInfo.openTypeHheaDescender: int | float

Descender value.

Corresponds to the OpenType hhea table Descender field.

BaseInfo.openTypeHheaLineGap: int | float

Line gap value.

Corresponds to the OpenType hhea table LineGap field.

BaseInfo.openTypeHheaCaretSlopeRise: int | None

Caret slope rise value.

Corresponds to the OpenType hhea table caretSlopeRise field.

BaseInfo.openTypeHheaCaretSlopeRun: int | None

Caret slope run value.

Corresponds to the OpenType hhea table caretSlopeRun field.

BaseInfo.openTypeHheaCaretOffset: int | float

Caret offset value.

Corresponds to the OpenType hhea table caretOffset field.

BaseInfo.openTypeNameDesigner: str | None

Designer name.

Corresponds to the OpenType name table name ID 9.

BaseInfo.openTypeNameDesignerURL: str | None

URL for the designer.

Corresponds to the OpenType name table name ID 12.

BaseInfo.openTypeNameManufacturer: str | None

Manufacturer name.

Corresponds to the OpenType name table name ID 8.

BaseInfo.openTypeNameManufacturerURL: str | None

Manufacturer URL.

Corresponds to the OpenType name table name ID 11.

BaseInfo.openTypeNameLicense: str | None

License text.

Corresponds to the OpenType name table name ID 13.

BaseInfo.openTypeNameLicenseURL: str | None

URL for the license.

Corresponds to the OpenType name table name ID 14.

BaseInfo.openTypeNameVersion: str | None

Version string.

Corresponds to the OpenType name table name ID 5.

BaseInfo.openTypeNameUniqueID: str | None

Unique ID string.

Corresponds to the OpenType name table name ID 3.

BaseInfo.openTypeNameDescription: str | None

Description of the font.

Corresponds to the OpenType name table name ID 10.

BaseInfo.openTypeNamePreferredFamilyName: str | None

Preferred family name.

Corresponds to the OpenType name table name ID 16.

BaseInfo.openTypeNamePreferredSubfamilyName: str | None

Preferred subfamily name.

Corresponds to the OpenType name table name ID 17.

BaseInfo.openTypeNameCompatibleFullName: str | None

Compatible full name.

Corresponds to the OpenType name table name ID 18.

BaseInfo.openTypeNameSampleText: str | None

Sample text.

Corresponds to the OpenType name table name ID 20.

BaseInfo.openTypeNameWWSFamilyName: str | None

WWS family name.

Corresponds to the OpenType name table name ID 21.

BaseInfo.openTypeNameWWSSubfamilyName: str | None

WWS Subfamily name.

Corresponds to the OpenType name table name ID 22.

BaseInfo.openTypeOS2WidthClass: int | None

Width class value.

Must be in the range 1-9. Corresponds to the OpenType OS/2 table usWidthClass field.

BaseInfo.openTypeOS2WeightClass: int | None

Weight class value.

Must be a positive integer. Corresponds to the OpenType OS/2 table usWeightClass field.

BaseInfo.openTypeOS2Selection: list[int] | None

A list of bit numbers indicating the bits that should be set in fsSelection.

The bit numbers are listed in the OpenType OS/2 specification. Corresponds to the OpenType OS/2 table selection field. Note: Bits 0 (italic), 5 (bold) and 6 (regular) should not be set here. These bits should be taken from the generic styleMapStyleName attribute.

BaseInfo.openTypeOS2VendorID: str | None

Four character identifier for the creator of the font.

Corresponds to the OpenType OS/2 table achVendID field.

BaseInfo.openTypeOS2Panose: list[int] | None

The list should contain 10 integers that represent the setting for each category in the Panose specification.

The integers correspond with the option numbers in each of the Panose categories. This corresponds to the OpenType OS/2 table Panose field.

BaseInfo.openTypeOS2FamilyClass: list[int] | None

Two integers representing the IBM font class and font subclass of the font.

The first number, representing the class ID, should be in the range 0-14. The second number, representing the subclass, should be in the range 0-15. The numbers are listed in the OpenType OS/2 specification. Corresponds to the OpenType OS/2 table sFamilyClass field.

BaseInfo.openTypeOS2UnicodeRanges: list[int] | None

A list of bit numbers that are supported Unicode ranges in the font.

The bit numbers are listed in the OpenType OS/2 specification. Corresponds to the OpenType OS/2 table ulUnicodeRange1, ulUnicodeRange2, ulUnicodeRange3 and ulUnicodeRange4 fields.

BaseInfo.openTypeOS2CodePageRanges: list[int] | None

A list of bit numbers that are supported code page ranges in the font.

The bit numbers are listed in the OpenType OS/2 specification. Corresponds to the OpenType OS/2 table ulCodePageRange1 and ulCodePageRange2 fields.

BaseInfo.openTypeOS2TypoAscender: int | float

Ascender value.

Corresponds to the OpenType OS/2 table sTypoAscender field.

BaseInfo.openTypeOS2TypoDescender: int | float

Descender value.

Corresponds to the OpenType OS/2 table sTypoDescender field.

BaseInfo.openTypeOS2TypoLineGap: int | float

Line gap value.

Corresponds to the OpenType OS/2 table sTypoLineGap field.

BaseInfo.openTypeOS2WinAscent: int | float

Ascender value.

Corresponds to the OpenType OS/2 table usWinAscent field.

BaseInfo.openTypeOS2WinDescent: int | float

Descender value.

Corresponds to the OpenType OS/2 table usWinDescent field.

BaseInfo.openTypeOS2Type: list[int] | None

A list of bit numbers indicating the embedding type.

The bit numbers are listed in the OpenType OS/2 specification. Corresponds to the OpenType OS/2 table fsType field.

BaseInfo.openTypeOS2SubscriptXSize: int | float

Subscript horizontal font size.

Corresponds to the OpenType OS/2 table ySubscriptXSize field.

BaseInfo.openTypeOS2SubscriptYSize: int | float

Subscript vertical font size.

Corresponds to the OpenType OS/2 table ySubscriptYSize field.

BaseInfo.openTypeOS2SubscriptXOffset: int | float

Subscript x offset.

Corresponds to the OpenType OS/2 table ySubscriptXOffset field.

BaseInfo.openTypeOS2SubscriptYOffset: int | float

Subscript y offset.

Corresponds to the OpenType OS/2 table ySubscriptYOffset field.

BaseInfo.openTypeOS2SuperscriptXSize: int | float

Superscript horizontal font size.

Corresponds to the OpenType OS/2 table ySuperscriptXSize field.

BaseInfo.openTypeOS2SuperscriptYSize: int | float

Superscript vertical font size.

Corresponds to the OpenType OS/2 table ySuperscriptYSize field.

BaseInfo.openTypeOS2SuperscriptXOffset: int | float

Superscript x offset.

Corresponds to the OpenType OS/2 table ySuperscriptXOffset field.

BaseInfo.openTypeOS2SuperscriptYOffset: int | float

Superscript y offset.

Corresponds to the OpenType OS/2 table ySuperscriptYOffset field.

BaseInfo.openTypeOS2StrikeoutSize: int | float

Strikeout size.

Corresponds to the OpenType OS/2 table yStrikeoutSize field.

BaseInfo.openTypeOS2StrikeoutPosition: int | float

Strikeout position.

Corresponds to the OpenType OS/2 table yStrikeoutPosition field.

BaseInfo.openTypeVheaVertTypoAscender: int | float

Ascender value.

Corresponds to the OpenType vhea table vertTypoAscender field.

BaseInfo.openTypeVheaVertTypoDescender: int | float

Descender value.

Corresponds to the OpenType vhea table vertTypoDescender field.

BaseInfo.openTypeVheaVertTypoLineGap: int | float

Line gap value.

Corresponds to the OpenType vhea table vertTypoLineGap field.

BaseInfo.openTypeVheaCaretSlopeRise: int | None

Caret slope rise value.

Corresponds to the OpenType vhea table caretSlopeRise field.

BaseInfo.openTypeVheaCaretSlopeRun: int | None

Caret slope run value.

Corresponds to the OpenType vhea table caretSlopeRun field.

BaseInfo.openTypeVheaCaretOffset: int | float

Caret offset value.

Corresponds to the OpenType vhea table caretOffset field.

BaseInfo.postscriptFontName: str | None

Name to be used for the FontName field in Type 1/CFF table.

BaseInfo.postscriptFullName: str | None

Name to be used for the FullName field in Type 1/CFF table.

BaseInfo.postscriptSlantAngle: int | float

Artificial slant angle.

BaseInfo.postscriptUniqueID: int | None

A unique ID number as defined in the Type 1/CFF specification.

BaseInfo.postscriptUnderlineThickness: int | float

Underline thickness value.

Corresponds to the Type 1/CFF/post table UnderlineThickness field.

BaseInfo.postscriptUnderlinePosition: int | float

Underline position value.

Corresponds to the Type 1/CFF/post table UnderlinePosition field.

BaseInfo.postscriptIsFixedPitch: bool | None

Indicates if the font is monospaced.

A compiler could calculate this automatically, but the designer may wish to override this setting. This corresponds to the Type 1/CFF isFixedPitched field

BaseInfo.postscriptBlueValues: list[int] | None

A list of up to 14 integers or floats specifying the values that should be in the Type 1/CFF BlueValues field.

This list must contain an even number of integers following the rules defined in the Type 1/CFF specification.

BaseInfo.postscriptOtherBlues: list[int] | None

A list of up to 10 integers or floats specifying the values that should be in the Type 1/CFF OtherBlues field.

This list must contain an even number of integers following the rules defined in the Type 1/CFF specification.

BaseInfo.postscriptFamilyBlues: list[int] | None

A list of up to 14 integers or floats specifying the values that should be in the Type 1/CFF FamilyBlues field.

This list must contain an even number of integers following the rules defined in the Type 1/CFF specification.

BaseInfo.postscriptFamilyOtherBlues: list[int] | None

A list of up to 10 integers or floats specifying the values that should be in the Type 1/CFF FamilyOtherBlues field.

This list must contain an even number of integers following the rules defined in the Type 1/CFF specification.

BaseInfo.postscriptStemSnapH: list[int] | None

List of horizontal stems sorted in increasing order.

Up to 12 integers or floats are possible. This corresponds to the Type 1/CFF StemSnapH field.

BaseInfo.postscriptStemSnapV: list[int] | None

List of vertical stems sorted in increasing order.

Up to 12 integers or floats are possible. This corresponds to the Type 1/CFF StemSnapV field.

BaseInfo.postscriptBlueFuzz: int | float

BlueFuzz value.

This corresponds to the Type 1/CFF BlueFuzz field.

BaseInfo.postscriptBlueShift: int | float

BlueShift value.

This corresponds to the Type 1/CFF BlueShift field.

BaseInfo.postscriptBlueScale: int | float

BlueScale value.

This corresponds to the Type 1/CFF BlueScale field.

BaseInfo.postscriptForceBold: bool | None

Indicates how the Type 1/CFF ForceBold field should be set.

BaseInfo.postscriptDefaultWidthX: int | float

Default width for glyphs.

BaseInfo.postscriptNominalWidthX: int | float

Nominal width for glyphs.

BaseInfo.postscriptWeightName: str | None

A string indicating the overall weight of the font.

This corresponds to the Type 1/CFF Weight field. It should be in sync with the openTypeOS2WeightClass value.

BaseInfo.postscriptDefaultCharacter: str | None

The name of the glyph that should be used as the default character in PFM files.

BaseInfo.postscriptWindowsCharacterSet: int | None

The Windows character set.

The values are defined below.

Copy

BaseInfo.copy() BaseObjectType

Copy the current object into a new object of the same type.

The returned object will not have a parent object.

Returns:

A new BaseObject subclass instance with the same attributes.

Parents

BaseInfo.font: dynamicProperty

Get or set the info’s parent font object.

The value must be a BaseFont instance or None.

Returns:

The BaseFont instance containing the info or None.

Raises:

AssertionError – If attempting to set the font when it has already been set.

Example:

>>> font = info.font

Interpolation

BaseInfo.interpolate(factor: int | float | list[int | float] | tuple[float, float], minInfo: BaseInfo, maxInfo: BaseInfo, round: bool = True, suppressError: bool = True) None[source]

Interpolate all possible data in the current info object.

Parameters:
  • factor – The interpolation value as a single int or float or a tuple of two int or float values representing the factors (x, y).

  • minInfo – The BaseInfo instance corresponding to the 0.0 position in the interpolation.

  • maxInfo – The BaseInfo instance corresponding to the 1.0 position in the interpolation.

  • round – A bool indicating whether the result should be rounded to integers. Defaults to True.

  • suppressError – A bool indicating whether to ignore incompatible data or raise an error when such incompatibilities are found. Defaults to True.

Raises:

TypeError – If minInfo or maxInfo are not instances of BaseInfo.

Example:

>>> info.interpolate(0.5, otherInfo1, otherInfo2)
>>> info.interpolate((0.5, 2.0), otherInfo1, otherInfo2, round=False)

Normalization

BaseInfo.round() None[source]

Round the following attributes to the nearest integer:

  • unitsPerEm

  • descender

  • xHeight

  • capHeight

  • ascender

  • openTypeHeadLowestRecPPEM

  • openTypeHheaAscender

  • openTypeHheaDescender

  • openTypeHheaLineGap

  • openTypeHheaCaretSlopeRise

  • openTypeHheaCaretSlopeRun

  • openTypeHheaCaretOffset

  • openTypeOS2WidthClass

  • openTypeOS2WeightClass

  • openTypeOS2TypoAscender

  • openTypeOS2TypoDescender

  • openTypeOS2TypoLineGap

  • openTypeOS2WinAscent

  • openTypeOS2WinDescent

  • openTypeOS2SubscriptXSize

  • openTypeOS2SubscriptYSize

  • openTypeOS2SubscriptXOffset

  • openTypeOS2SubscriptYOffset

  • openTypeOS2SuperscriptXSize

  • openTypeOS2SuperscriptYSize

  • openTypeOS2SuperscriptXOffset

  • openTypeOS2SuperscriptYOffset

  • openTypeOS2StrikeoutSize

  • openTypeOS2StrikeoutPosition

  • openTypeVheaVertTypoAscender

  • openTypeVheaVertTypoDescender

  • openTypeVheaVertTypoLineGap

  • openTypeVheaCaretSlopeRise

  • openTypeVheaCaretSlopeRun

  • openTypeVheaCaretOffset

  • postscriptSlantAngle

  • postscriptUnderlineThickness

  • postscriptUnderlinePosition

  • postscriptBlueValues

  • postscriptOtherBlues

  • postscriptFamilyBlues

  • postscriptFamilyOtherBlues

  • postscriptStemSnapH

  • postscriptStemSnapV

  • postscriptBlueFuzz

  • postscriptBlueShift

  • postscriptDefaultWidthX

  • postscriptNominalWidthX

Example:

>>> info.round()

Update

BaseInfo.update(other: BaseInfo) None[source]

Update the current info object with the values from another.

Parameters:

other – A BaseInfo to update this info object with.

Example:

>>> info.update(newInfo)

Environment

BaseInfo.naked() Any

Return the environment’s native object wrapped by the current object.

Raises:

NotImplementedError – If the method has not been overridden by a subclass.

Example:

>>> loweLevelObj = obj.naked()
BaseInfo.changed(*args: Any, **kwargs: Any) None

Tell the environment that something has changed in the object.

The behavior of this method will vary from environment to environment.

Parameters:
  • *args – Any positional arguments.

  • **kwargs – Any keyword arguments.

Example:

>>> obj.changed()