From 044d9c245fc38fb9a51a66ffd880bb5e8860fc72 Mon Sep 17 00:00:00 2001 From: Chengxi Date: Wed, 16 Oct 2024 04:50:23 -0400 Subject: [PATCH] docs:delete redundant code in has-class usage example. (#305) --- docs/usage.rst | 7 ------- 1 file changed, 7 deletions(-) diff --git a/docs/usage.rst b/docs/usage.rst index e3eb91f9..eb2dcb49 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -609,13 +609,6 @@ returns ``True`` for nodes that have all of the specified HTML classes:: ...

Fourth

... """) ... - >>> sel = Selector(""" - ...

First

- ...

Second

- ...

Third

- ...

Fourth

- ... """) - ... >>> sel.xpath('//p[has-class("foo")]') [, ]