Skip to content

imports in code examples #511

@hoffcon-tom

Description

@hoffcon-tom
  • I have searched the issues
    of this repo and believe that this is not a duplicate.

Issue

I think the examples in the documentation are using an out of date import for sections.
The code examples here https://sectionproperties.readthedocs.io/en/1.0.8/rst/examples.html use

import sectionproperties.pre.sections as sections

This gives me a not found error when trying to run the code.

Looking at the source should it be changed to the below?

import sectionproperties.pre.library as sections

This fixes the error in my code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions