mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-05 23:41:44 +00:00
ids_doc_generator - fix invalid escape sequence SyntaxWarning
SyntaxWarning: invalid escape sequence '\/' at line 312. `\/` in a plain string is treated as `/` by accident; replaced with raw string r"..." to be explicit.
This commit is contained in:
@@ -310,7 +310,7 @@ spec = ifctester.ids.Specification(
|
||||
)
|
||||
specs.specifications.append(spec)
|
||||
spec.applicability.append(ifctester.ids.Entity(name="IFCWALLTYPE"))
|
||||
restriction = ifctester.ids.Restriction(options={"pattern": "(-|[0-9]{2,3})\/(-|[0-9]{2,3})\/(-|[0-9]{2,3})"})
|
||||
restriction = ifctester.ids.Restriction(options={"pattern": r"(-|[0-9]{2,3})/(-|[0-9]{2,3})/(-|[0-9]{2,3})"})
|
||||
spec.requirements.append(
|
||||
ifctester.ids.Property(
|
||||
propertySet="Pset_WallCommon",
|
||||
|
||||
Reference in New Issue
Block a user